Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q550 Is there a problem with how the MacOS gives up its date/time?

irt.org | Knowledge Base | JavaScript | Date | Q550 [ previous next ]

Q550 Is there a problem with how the MacOS gives up its date/time?

Yes. I can't remember the exact details but the start point (i.e. year dot) on MacOs is not the real start point.

Dates are held as the number of milliseconds since midnight GMT on January 1st, 1970 (year dot).

You can get the date for year dot with:

dot = new Date(0);

Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.