Parse date and time
Anatomy
<date:parse var="var" timezone="(system time zone)">
string
</date:parse>
Description: DATE:PARSE returns the timestamp for a date by parsing a textual date and time value.
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
| Name | Type | Description | Defined By |
|---|---|---|---|
| var | var | Result variable name | date:parse |
| timezone | string | Time zone | date:parse |
Results:
| Binding | Type | Predicate |
|---|---|---|
| var | N/A |
Examples
Example
<output>
<date:parse>2000-01-01</date:parse>
</output>
<!-- 946684800 -->