createDate

Creates a date/time object

createDate(year, month, day) → returns DateTime

Argument Reference for the createDate function

year

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

month

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

day

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

Examples sample code invoking the createDate function


Tag Syntax

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

Fork me on GitHub