DateTime
constructor Date: date
date
: optional.
Properties
date Date
Current date.
Methods
getTime Number
Get milliseconds elapsed since 1 January 1970 00:00:00 UTC.
getMonth Number
Get month. 0 for january … 11 for december.
getYear Number
Get year.
setDay Number: day
DateTime
Set day.
day
: day to be established.