pub static day: DayInternalType
p5.js communicates with the clock on your computer. The day() function returns the current day as a value from 1 - 31.
let d = day(); text('Current day: \n' + d, 5, 50);