iso8601 (8) - Linux Manuals
iso8601: Part of the Pacemaker cluster resource manager
NAME
Pacemaker - Part of the Pacemaker cluster resource managerSYNOPSIS
iso8601 command [output modifier]DESCRIPTION
iso8601 - Display and parse ISO8601 dates and timesOPTIONS
- -?, --help
- This text
- -$, --version
- Version information
- -V, --verbose
- Increase debug output
Commands:
- -n, --now
- Display the current date/time
- -d, --date=value
- Parse an ISO8601 date/time. Eg. '2005-01-20 00:30:00 +01:00' or '2005-040'
- -p, --period=value
- Parse an ISO8601 date/time with interval/period (wth start time). Eg. '2005-040/2005-043'
- -D, --duration=value
- Parse an ISO8601 date/time with duration (wth start time). Eg. '2005-040/P1M'
- -E, --expected=value
- Parse an ISO8601 date/time with duration (wth start time). Eg. '2005-040/P1M'
Output Modifiers:
- -s, --seconds
- Show result as a seconds since 0000-001 00:00:00Z
- -S, --epoch
- Show result as a seconds since EPOCH (1970-001 00:00:00Z)
- -L, --local
- Show result as a 'local' date/time
- -O, --ordinal
- Show result as an 'ordinal' date/time
- -W, --week
- Show result as an 'calendar week' date/time
For more information on the ISO8601 standard, see: http://en.wikipedia.org/wiki/ISO_8601
AUTHOR
Written by Andrew BeekhofREPORTING BUGS
Report bugs to pacemaker [at] oss.clusterlabs.org