Name

hour()

Examples
background(204)
s = second()# Values from 0 - 59
m = minute()# Values from 0 - 59
h = hour()# Values from 0 - 23
line(s, 0, s, 33)
line(m, 33, m, 66)
line(h, 66, h, 100)

THIS EXAMPLE IS BROKEN

Description Processing communicates with the clock on your computer. The hour() function returns the current hour as a value from 0 - 23.
Syntax
hour()
Related millis()
second()
minute()
day()
month()
year()

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

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