createDateTime

Creates a date-time object.

createDateTime(year, month, day, hour, minute, second) → returns DateTime

createDateTime Argument Reference

year
Required

month
Required

Numeric month of the year (1-12)

day
Required

Day of the month

hour
Required

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

minute
Required

second
Required

Examples sample code invoking the createDateTime function


Tag Syntax

<cfset yourDate = createDateTime("2015", "12", "09", "6", "20", "34")> 
 <cfdump var="#yourDate#" />     

Fork me on GitHub