createTime

Creates a time variable.

createTime(hour, minute, second) → returns DateTime

Argument Reference for the createTime function

hour

Required: Yes
Values:
  • hour(now())

minute

Required: Yes
Values:
  • minute(now())

second

Required: Yes
Values:
  • second(now())

Examples sample code invoking the createTime function


Tag Syntax

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

Fork me on GitHub