CreateTimeSpan()
Creates a timespan object that defines a time period.
The timespan object can be used with the cachedWithin attribute of cffunction, cfinclude, and cfquery.
CreateTimeSpan( days=number, hours=number, minutes=number, seconds=number, milliseconds=number );
Returns: timespan
Examples
dump(createTimeSpan(0,0,30,0)); // 30-minute timespan
See also
- Date and time
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)