DateConvert

"-->
 DateConvert ("conversion-type", "date") 

Description

Converts local time to universal coordinated time (UTC) or vice versa. If required, it uses the daylight savings settings on the executing computer to integrate daylight savings time. Use conversion types: local2Utc (converts local time to UTC time) or utc2Loca (converts UTC time to local time).

Example

 <cfset exampleDate = now()>  <cfset utcdate = DateConvert('local2utc', exampleDate)  <cfoutput>  The UTC date looks like this: #utcdate#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net