User Tools

Site Tools


en:month

This is an old revision of the document!


Month (Function)

Format

month
month ( )

returns positive_integer_value

Description

Returns the current system clock's month. January is 0, February is 1… December is 11.

Example

cls
dim n$(12)
n$ = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"}
print day + "-" + n$[month] + "-" + year

on New Years will display

1-Jan-2010

See Also

2016/01/01 22:42

History

0.9.4New To Version
en/month.1451713291.txt.gz · Last modified: 2020/02/28 10:46 (external edit)