Syntax
DayNumberFromDate <yyyy-mm-dd>Description
Return the day number for the specified date.Parameters
<yyyy-mm-dd>
- The date for which the day number is desired.
Remarks
Day number 1 is November 25, 4714 BC in the Gregorian calendar and day number 2447893 is January 1, 1990. This system of day numbering is sometimes referred to as Julian days although Julian days may also refer to the day of the year.See also DateFromDayNumber.
Example
n = DayNumberFromDate Date
n = n + 15
newDate = DateFromDayNumber nThe exampe obtains the date 15 days in the future.