If anyone knows why our local CF 4.0 server gets the correct time zone info, but
our 4.5 live server doesn't, I would be eternally grateful.
Here's the code:
<cfscript>
SetLocale("English (New Zealand)");
zoneinfo=GetTimeZoneInfo();
offset=zoneinfo.utcHourOffset;
WriteOutput("offset: "&offset);
</cfscript>
On our server we get "12", which is correct. On the live server we get "-12",
which is not.
David Cummins
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists