SitePoint Sponsor |
|
User Tag List
Results 1 to 1 of 1
Thread: Explain Date() to me...
-
Dec 16, 2005, 19:18 #1
- Join Date
- Aug 2005
- Posts
- 153
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Explain Date() to me...
Ok, I have this code:
Code:<SCRIPT TYPE="text/javascript"> LocalTime = new Date(); document.cookie = "time=" + LocalTime; </SCRIPT>
Some machines display the time like this: Sun Jan 15 22:27:40 EST 2005
and others like this: Fri Dec 16 2005 09:16:14 GMT-0800 (GMT-8 Pacific Time (U.S./Canada/Mexico))
Why the difference?, I thought the format was "fixed"Last edited by Jack_In_The_Box; Dec 16, 2005 at 21:04.
Bookmarks