Rick Root wrote: > Coldfusion inserts a UTC timestamp into the database which is returned
is the server tz UTC? if notm then i bet you it doesn't ;-) well at least a couple of times a year it doesn't. > 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.... i guess try a couple of things (and my js is slowly drowning in a sea of flex & flash) : - adding the tz info yourself. can js handle dates as strings? - using java epoch offsets. you can turn cf datetime objects into java epoch offsets easily enough: theDate.getTime(); can js use those? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:252568 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4