Reload this page to get current date/time information.
var now = new Date();
| Expression | Value | Notes |
|---|---|---|
| now.getFullYear() | Full year | |
| now.getYear() | Careful! Varies from browser to browser | |
| now.getMonth() | 0=Jan, 1=Feb, ..., 11=Dec | |
| now.getDate() | 1 to 31 | |
| now.getDay() | 0=Sun, 1=Mon, ..., 6=Sat | |
| now.getHours() | 0 to 23 | |
| now.getMinutes() | 0 to 59 | |
| now.getSeconds() | 0 to 59 | |
| now.getTime() | Seconds since Jan 1, 1970 |