Compare Revisions

Date

Change Revisions

Revision 330975:

Revision 330975 by barnabywalters on

Revision 341599:

Revision 341599 by rodrigonery on

Title:
Date
Date
Slug:
JavaScript/Reference/Global_Objects/Date
JavaScript/Reference/Global_Objects/Date
Tags:
"NeedsMobileBrowserCompatibility", "NeedsBrowserCompatibility"
"NeedsMobileBrowserCompatibility", "NeedsBrowserCompatibility"
Content:

Revision 330975
Revision 341599
n17new Date()n17new Date();
18new Date(value)18new Date(value);
19new Date(dateString)19new Date(dateString);
20new Date(year, month, day [, hour, minute, second, millisecond])20new Date(year, month, day [, hour, minute, second, millisecond]);
t180today = new Date();t180var today = new Date();
181birthday = new Date("December 17, 1995 03:24:00");181var birthday = new Date("December 17, 1995 03:24:00");
182birthday = new Date(1995,11,17);182var birthday = new Date(1995,11,17);
183birthday = new Date(1995,11,17,3,24,0);183var birthday = new Date(1995,11,17,3,24,0);

Back to History