day

Static day 

Source
pub static day: DayInternalType
Expand description

p5.js communicates with the clock on your computer. The day() function returns the current day as a value from 1 - 31.

Examples

let d = day();
text('Current day: \n' + d, 5, 50);