GetTimeZoneInfo () 


Gets local time zone information for the computer on which it is called, relative to universal coordinated time (UCT). Returns values in a structure containing the following information: utcTotalOffset, utcHourOffset, utcMinuteOffset, isDSTOn.


 <cfset timezone =  GetTimeZoneInfo() >  <cfoutput>  <p>Total offset in seconds is #timezone.utcTotalOffset#.</p>  <p>Offset in hours is # timezone.utcHourOffset#.</p>  <p>Offset in minutes minus the offset in hours is #timezone.utcMinuteOffset#.</p>  <p>Is daylight savings turned on: # timezone.isDSTOn#.</p>  </cfoutput>  

Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579 © 2008-2017.
If you may any questions please contact us: