Nday
nday
returns the number of days between the [1/1/1600] and the date given as the argument.
nday(EXP_DATE)
EXP_DATE
is an expression returning a date. # How many days since 1/1/1600 ?Local Integer N_DAY1, N_DAY2N_DAY1 = nday(date$)N_DAY2 = date$-[1/1/1600]# N_DAY1 and N_DAY2 have the same value
nday
transforms a date in a number of days. The type of result is Integer.
nday(EXPR_DATE)
can be replaced by EXPR_DATE-[1/1/1600]
.
Error code | Description |
---|---|
10 | The argument is not a date. |
56 | The date is incorrect. |
day, year, month,month$, day$, gdat$, dayn, nday$, date$, datesyst, Date.