createTime

Creates a time variable.

createTime(hour, minute, second) → returns date

Argument Reference

hour numeric
Required

Hour of the day in 24-hour notation (0-23)

minute numeric
Required
Default: 0

Minute within the hour

second numeric
Required
Default: 0

Second within the minute

millisecond numeric
Default: 0

timezone numeric

Examples
Sample code invoking the createTime function

<cfset yourTime = createTime("5", "24", "56")>  
 <cfdump var="#yourTime#" />   

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub