CreateDatetime()

Creates a CFML date/time object from the given year, month, day, hour, minute, second and optional millisecond

Usage

DATE = CreateDatetime( year, month, day, hour, minute, second, ms )
Argument Summary
year year
month month (1-12)
day day
hour hour (0-23)
minute minute
second second
ms ms [optional]

Calling

Supports named-parameter calling allowing you to use the function like:

CreateDatetime(
   year=?, 
   month=?, 
   day=?, 
   hour=?, 
   minute=?, 
   second=?, 
   ms=?
);

Supports passing parameters as a structure using ArgumentCollection:

CreateDatetime( ArgumentCollection={
   year : ?, 
   month : ?, 
   day : ?, 
   hour : ?, 
   minute : ?, 
   second : ?, 
   ms : ?
} );