For the complete documentation index, see llms.txt. This page is also available as Markdown.

CreateTime

Creates a time-only datetime object using the epoch date ( 1970-1-1 ) as the date reference.

Method Signature

CreateTime(hour=[integer], minute=[integer], second=[integer], millisecond=[integer], timezone=[string])

Arguments

Argument
Type
Required
Description
Default

hour

integer

false

The hour of the date-time object.

0

minute

integer

false

The minute of the date-time object.

0

second

integer

false

The second of the date-time object.

0

millisecond

integer

false

The millisecond of the date-time object.

0

timezone

string

false

The timezone to apply to the date-time object. Defaults to the system default timezone.

Examples

Tag Syntax

<bx:set yourTime = createTime( "5", "24", "56" ) >  
 <bx:dump var="#yourTime#"/>   

Additional Examples

Run Example

Last updated

Was this helpful?