DaveH225 wrote:
> I've read that article before, (on a different site with
different comments),
you did? somebody's plagiarizing my blog? geez.
> and thought it applied to earlier versions of CF as it's
dated 2006, but even
no, it's still true. that is until, unless cf gets a
setTimezone() method. vote
early, vote often:
http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform&product=12&6213=6
> if it's still a problem I still don't understand how
it's effecting my result.
you mentioned DST.
> My timezone is Alaska, which currently is 9 hours behind
GMT, not 1 hour, so
> why is the server TZ overriding by an hour?
what tz is the server in? i don't know what "My timezone is
Alaska" refers to.
> Standard time is in effect on my server, not Daylight
Savings, so again there
> shouldn't be an adjustment of an hour, should there?
are these historic dates? if your server's tz has DST, even
if it's not in it
right now and you feed it a datetime on a DST cusp, it will
automagically flop
that datetime over.
of course it could be as simple as somebody's time being set
wrong.
> I'm new to ColdFusion and while I'm impressed overall, I
find this problem
> rather disappointing and highly frustrating. When I'm
learning a new
> programming language I don't want to have to be wasting
my time trying to dig
> out workarounds to fundamental problems. UTC should
work, because that's what
> it's there for!
most folks don't deal w/tz issues so it's not a real
"serious" problem. to those
that do have to handle tz, there *is* such a thing as
"timezone hell"
😉 in any
case, my blog points out a few simple workarounds (which is
something i think
you'll learn to like in cf, it's never that hard to fix
pretty much anything).
also handling tz issues is a problem in java, etc. if you
don't do it right.
it's not really cf-specific.