Date elements also available
JavaYear.getTime(); - Number of milliseconds since 1/1/1970 @ 12:00 AM
JavaYear.getSeconds(); - Number of seconds (0-59)
JavaYear.getMinutes(); - Number of minutes (0-59)
JavaYear.getHours(); - Number of hours (0-23)
JavaYear.getFullYear(); - The four digit year (1900-9999)
JavaYear.getTimezoneOffset(); - Minutes between Local and UTC Time
Full Date Elements Reference – Includes Set Date
ALSO SEE
Date Elements – Much more comprehensive Javascript Reference
Created this page only to try and create a way to count the days remaining before events. Fixed date events are always simpler than variable date events, such as Thanksgiving (second Sunday of October in Canada - fourth Thursday of November in the US).
The Second Monday in October
The Fourth Thursday in November
Universal Holiday Calculator
I have a copy on
HowF.html