Month$
month$
returns the month name in the current language from a date.
Syntax
month$(EXP_DATE)
EXP_DATE
is an expression returning a date.
Examples
# Returns "July" if connected in English
Local Char JULY(20)
JULY=month$([14/07/1789])
# What is the current month name?
Local Char CURR_MONTH(20)
CURR_MONTH = month$(date$)
Description
month$
returns the month name from a date. The type of result is Char.
Associated errors
Error code | Description |
---|---|
10 | The argument is not a date. |
56 | The date is incorrect. |
See also
day, year, month, day$, gdat$, dayn, nday, nday$, date$, datesyst, Date.