createDate

Creates a date/time object

createDate(year, month, day) → returns DateTime

createDate Argument Reference

year
Required

month
Required

Numeric month of the year (1-12)

day
Required

Day of the month

Examples sample code invoking the createDate function


Tag Syntax

<cfset yourDate = createDate("2015", "12", "09")> 
 <cfdump var="#yourDate#" />      

Fork me on GitHub