Node:timestamp,
Previous:targetpath,
Up:XPath functions
timestamp
Usage: timestamp(format?, timespec?, timezone?)
The timestamp XPath function calculates and
formats a time. It takes three optional arguments:
- The first argument is a pattern string. If omitted, a default
format pattern is used.
- The second argument determines the time to use. If used, the
first argument is mandatory. If omitted, the last modified time of the
source file is used.
- The third argument indicates the time zone to use. If used, the
first and second arguments are mandatory. If omitted, the default is
to use UTC.
- Format: Specifying the timestamp output format
- Time: Where the time comes from
- Timezone: Timezone for outputted value