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 : ? } );
See Also
CreateDate
CreateDatetime
CreateOdbcdate
CreateOdbcdatetime
CreateOdbctime
CreateTime
CreateTimespan
DateAdd
DateCompare
DateConvert
DateDiff
DateFormat
DatePart
DateTimeformat
Day
Dayofweek
Dayofweekasstring
Dayofyear
Daysinmonth
Daysinyear
Epoch
Firstdayofmonth
GetBasetagdata
GetHttptimestring
GetNumericdate
Hour
IsLeapyear
Millisecond
Minute
Month
Monthasstring
Now
Parsedatetime
Quarter
Second
Timeformat
Week
Year