Name

day()

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 day() function returns the current day as a value from 1 - 31.
Syntax
day()
Related millis()
second()
minute()
hour()
month()
year()
Updated on Tue Jul 11 06:52:23 2017.
Creative Commons License