====== CLOCK_MONTH ======
[x16]
//Defined in [[x16.bas]].//
Returns the month portion of the current date/time, a number between 1 and 12.
===== Function header =====
FUNCTION CLOCK_MONTH AS BYTE () SHARED STATIC
===== Example =====
INCLUDE "x16.bas"
DIM monthname$(12) AS STRING * 9 @strdata
PRINT "it is "; monthname$(CLOCK_MONTH() - 1)
END
strdata:
DATA AS STRING * 9 "january", "february", "march", _
"april", "may", "june", "july", _
"august", "september", "october", _
"november", "december"
===== See also =====
* [[SETCLOCK]]
* [[CLOCK_YEAR]]
* [[CLOCK_DAY]]
* [[CLOCK_HOUR]]
* [[CLOCK_MIN]]
* [[CLOCK_SEC]]