User Tools

Site Tools


en:month

Month (Function)

Format

month
month ( )

returns integer_expression

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.txt · Last modified: 2016/08/12 11:51 by admin