Returns the current second as a number from 0–59.
day
Returns the current day as a number from 1–31.
hour
Returns the current hour as a number from 0–23.
millis
Returns the number of milliseconds since a sketch started running.
minute
Returns the current minute as a number from 0–59.
Looking for the old p5.js site? Find it here!