Zum Hauptinhalt springen

Current timestamp

Anatomy

<date:now var="var" micro="bool"/>

Description: DATE:NOW returns the timestamp for the current date and time. The timestamp may optionally include micro seconds in the fractional part.

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:now
microboolInclude micro seconds date:now

Results:

BindingTypePredicate
varintfloat

Examples

Example

<output>
<date:now/>
</output>