Name

month

Examples
d = day()  # Values from 1 - 31
m = month()  # Values from 1 - 12
y = year()  # 2003, 2004, 2005, etc.

text(toString(d), 10, 28)
text(toString(m), 10, 56)
text(toString(y), 10, 84)
Description Processing communicates with the clock on your computer. The month() function returns the current month as an integer from 1 - 12.
Syntax
month()
Related millis
second
minute
hour
day
year
Creative Commons License