CreateTime()

Creates a CFML time object from the given hour, minute, second and millisecond, or from the epoch

Usage

DATE = CreateTime( hour, minute, second, ms, epoch )
Argument Summary
hour hour (0-23)
minute minute [optional]
second second [optional]
ms milliseconds - defaults to 0 [optional]
epoch if used then creates a date from the epoch time [optional]

Calling

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

CreateTime(
   hour=?, 
   minute=?, 
   second=?, 
   ms=?, 
   epoch=?
);

Supports passing parameters as a structure using ArgumentCollection:

CreateTime( ArgumentCollection={
   hour : ?, 
   minute : ?, 
   second : ?, 
   ms : ?, 
   epoch : ?
} );