Rick Root wrote:
> Which is how far from GMT I am, I guess.  Java is coming up with
> milliseconds since the java epoch, and it thinks or knows that the
> server time is UTC time.  Coldfusion is doing the same, but thinks the
> opposite about the server time.

java epoch is ms since 1-jan-1970 00:00:00 UTC, supposedly server tz is 
irrelevant. but for cf, all datetimes are server tz no matter what, which makes 
my first statement something to chase your tail round in circles over.

> That being said... I'd go with the java method.  It's going to match
> with the user's browser when adjusted for timezone.

actually all your datetime's should match when tz are considered. except of 
course if you find yourself in timezone hell ;-)

http://www.sustainablegis.com/blog/cfg11n/index.cfm?mode=entry&entry=77223B6A-20ED-7DEE-2AB7FBB1F37ABD77

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get involved in the latest ColdFusion discussions, product
development sharing, and articles on the Adobe Labs wiki.
http://labs/adobe.com/wiki/index.php/ColdFusion_8

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

Reply via email to