Skip to main content

Create timestamp

Anatomy

<date:create var="var" day="int" month="int" year="int" hour="int" minute="int" second="int" timezone="(system time zone)"/>

Description: DATE:CREATE creates the timestamp for a date, specified by day, month, year, hour, minute and second.

Timestamps are based on Unix time, defined as the number of seconds elapsed since midnight proleptic Coordinated Universal Time (UTC) of January 1, 1970, not counting leap seconds.

Attributes

NameTypeDescriptionDefined By
varvarResult variable name date:create
dayintDay date:create
monthintMonth date:create
yearintYear date:create
hourintHour date:create
minuteintMinute date:create
secondintSecond date:create
timezonestringTime zone date:create

Results:

BindingTypePredicate
varN/A

Examples

Example

<output>
<date:create day="1" month="1" year="2000"/>
</output>

<!-- 946684800 -->