July 2008
Beginner
356 pages
6h 8m
English
The Date constructor can be used with several types of input:
>>> new Date(2011, 0, 1, 13, 30, 35, 500)
Sat Jan 01 2011 13:30:35 GMT-0800 (Pacific Standard Time)
>>> new Date(1293917435500)
Sat Jan 01 2011 13:30:35 GMT-0800 (Pacific Standard Time)
>>> new Date()
Fri Apr 18 2008 01:13:00 GMT-0700 (Pacific Daylight Time)
Read now
Unlock full access