Don L wrote:
> Personally I didn't find this function of any use, it tells offset from GMT,
> however, it does not indicate whether it's to the east (+) or to west (-).
> Am I missing something here (yes I've checked the livedocs about it).

yes you're missing somethings, from the cf8 docs:

Returns

Structure that contains these elements and keys:

*  utcTotalOffset: offset of local time, in seconds, from UTC
        o A plus sign indicates a time zone west of UTC (such as a zone in 
North America)
        o A minus sign indicates a time zone east of UTC (such as a zone in 
Germany)
     * utcHourOffset: offset, in hours of local time, from UTC
     * utcMinuteOffset: offset, in minutes, beyond the hours offset. For North 
America, this is 0. For countries that are not exactly on the hour offset, the 
number is between 0 and 60. For example, standard time in Adelaide, Australia 
is 
offset 9 hours and 30 minutes from UTC.
     * isDSTOn: True, if Daylight Savings Time (DST) is on in the host; False, 
otherwise

this is the *server* timezone, so if your server's in a tz west of UTC it will 
always be positive.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;160198600;22374440;w

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:299371
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