CreateTimeSpan

"-->
 CreateTimeSpan (days, hours, minutes, seconds) 

Description

Creates a date/time object that defines a time period. You can add or subtract it from other date/time objects and use it with the cachedWithin attribute of cfquery.

Example

 <cfset exampleTime = now()>  <cfset timetoadd = CreateTimeSpan(0, 1, 12, 0)>  <cfoutput>   The new time is: #TimeFormat(Evaluate(exampleTime + timetoadd), 'hh:mm')#  </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