In calculating year numbers, ECMA compliant implementations should use an extrapolated Gregorian system. This allows for leap years and non-leap years at the turn of the century, three out of every four.
There are various calculations related to year numbers. Refer to the various example calculations:
Days in year
Day from year
Time from year
Year from time
In leap year
See also: | Broken down time, Days in year, In leap year, Time from year, Year from time |
Prev | Home | Next |
Year from time | Up | Z |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |