Login | Register   
LinkedIn
Google+
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Client Scripting
Expertise: Beginner
Jun 10, 1998

Year 2000K Compliant

Question:
How do I make my date and time JavaScript Y2K compliant? Thank you.

Answer:
To the best of my knowledge, JavaScript, the language, is already Year 2000 compliant. Internally it represents dates as milliseconds from January 1, 1970.

Browsers, however, may have minor Y2K problems. For example, I know that various older versions of Internet Explorer do not handle cookies with expiration dates after the year 2000 correctly.

DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap
Thanks for your registration, follow us on our social networks to keep up-to-date