NDAY$

Contents


nday$ returns the date for the number of days elapsed since 1/1/1600.

 

Syntax

   nday$( exp_ent )

 

Parameters

Element

Description

Restrictions

exp_ent

Integer expression.

-1<=exp_ent<=3068036

 

Examples

   # Today + 15 days
    DATE = nday$( nday(date$) + 15)
   # for preference write (means the same):
   DATE = date$ + 15

 

Description and comments

The function nday$ function is used to convert from a number of days to a date.

You can replace nday$(X) with [1/1/1600]+X.

The result is a Date type.

 

Associated errors

Error

Description

ERDATE (56)

exp_ent is not in the range [-1, 3068036].

ERMODE (10)

exp_ent is not a numerical integer type.

 

Associated key words

DAY - MONTH - YEAR - DAY$ - MONTH$ - NDAY - DAYN - DATE


CONTENTS


Copyright © Sage 1999 - 2007