August 1999
Intermediate to advanced
1488 pages
72h 53m
English
var variable = new Date(); var variable = new Date(milliseconds1); var variable = new Date(string) var variable = new Date(year, month, day, hours, minutes, seconds, milliseconds2)
The Date object represents all aspects of a date and time from year to milliseconds. If arguments are provided when creating the Date object, the new object will contain the date specified, otherwise the object will be set to the current date. A Date object can also be created by calling Date as a function by excluding the new operator. The arguments and methods are listed in Table 6.24.
Caution
Navigator 3 and 4 return a string representation of the date rather ...
Read now
Unlock full access