Day
day
returns the day number (1 to 31) from a date.
day(DATE_EXPR)
DATE_EXPR
is an expression returning a date. # What is the day number today?CURRENT_DAY = day(date$)# What day was the "Bastille Day" ?FOURTEEN=day([14/07/1789])# What is the last day number of the current month (should return 28,29,30 or 31)LAST_DAY=day(eomonth(date$))
day
returns the day number of a valid date.
When the date is a null date ([0/0/0]), the function returns 0.
The type of result is Integer.
Error | Description |
---|---|
10 | The argument is not a date. |
56 | The date is incorrect. |
month, year, week, month$, day$, gdat$, dayn, nday, date$, datesyst, Date.