This repository has been archived by the owner on Apr 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Date
Atsuya Sato edited this page Nov 30, 2018
·
3 revisions
iOS, OSX
let m = millis()
The millis() function returns the current millisecond as a value from 0 - 999.
※ [Bug] millis() behavior is different in Processing and ProcessingKit issue #107
iOS, OSX
let s = second()
The second() function returns the current second as a value from 0 - 59.
iOS, OSX
let m = minute()
The minute() function returns the current minute as a value from 0 - 59.
iOS, OSX
let h = hour()
The hour() function returns the current hour as a value from 0 - 23.
iOS, OSX
let d = day()
The day() function returns the current day as a value from 1 - 31
iOS, OSX
let m = month()
The month() function returns the current month as a value from 1 - 12.
iOS, OSX
let y = year()
The year() function returns the current year as an integer (2003, 2004, 2005, etc).