You might also want to take a look at this page:

http://www.elated.com/tutorials/programming/javascript/dates/

Search for the phrase "About UTC".

HTH.

Rey...

Rick Root wrote:
> So I'm trying to add timestamps to the join/leave announcements in my 
> chat room....
> 
> Coldfusion inserts a UTC timestamp into the database which is returned 
> with the content of the chat room for each line.
> 
> However, javascript sees these dates as Eastern Daylight time (GMT-400).
> 
> The coldfusion timestamp of course doesn't actually include timezone 
> information or anything so apparently javascript (or perhaps DWRengine) 
> assumes that it's the browser's local time.
> 
> So the question is... how do I get the browser to consider the timestamp 
> returned to be UTC, and then convert it to the browser's local time....
> 
> Rick
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:252574
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to