Month$

Date/Time function

The Month$ function returns the number of the current month as a string.

Syntax

month_curr$=Month$()

Return value

month_curr$, number of the current month returned as a string; if the value is less than 10, a leading 0 is added (the string is always two characters long).

Example

 

a$=Month$() 'if current month is March, a$ contains "03"