Name

month()

Examples
d = day() # Values from 1 - 31
m = month() # Values from 1 - 12
y = year() # 2003, 2004, 2005, etc.
print(d)
print(m)
print(y)
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()

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.

Creative Commons License

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

AltStyle によって変換されたページ (->オリジナル) /