Creates a timespan object that defines a time period. You
can use it with the cachedWithin attribute cffunction, cfinclude, cfquery
Lucee Function Reference
Function CREATETIMESPAN
Example
createtimespan(number days,number hours,number minutes,number seconds,[number milliseconds]):timespan
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| days | number | Yes | number of days in time period |
| hours | number | Yes | number of hours in time period |
| minutes | number | Yes | number of minutes in time period |
| seconds | number | Yes | number of seconds in time period |
| milliseconds | number | No | number of milliseconds in time period |