MONTH$ |
month$ returns the string containing the name of the month in the current language.
month$( exp_date )
month$( exp_num )
|
Element |
Description |
Restrictions |
|
exp_date |
Date type expression. |
None. |
|
exp_num |
Numerical expression. |
None. |
# Date displayed in letters
Print "Paris, ";day(date$);" ";month$ (date$);" ";year(date$)
month$ extracts the name of the month for a valid date.
If the argument is numerical, it is a month number, calculated with modulo 12 (1 for "January", etc.).
The result is a Char type.
|
Error |
Description |
|
ERMODE (10) |
Incorrect argument. |
|
ERDATE (56) |
Incorrect date. |
DAY - MONTH - YEAR - DAY$ - GDAT$ - DAYN - NDAY - NDAY$ - DATE$ - DATESYST - DATE
|
|