Take a look at this Rick to see if this helps: http://livedocs.macromedia.com/coldfusion/6/CFML_Reference/functions-pt157.htm
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:252567 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

