DOKK / manpages / debian 12 / pacemaker-cli-utils / iso8601.8.en
PACEMAKER(8) System Administration Utilities PACEMAKER(8)

Pacemaker - Part of the Pacemaker cluster resource manager

iso8601 <command> [options]

Display and parse ISO 8601 dates and times

Show help options
Show all help options
Show command options
Show output modifiers

Display the current date/time
Parse an ISO 8601 date/time (for example, '2019-09-24 00:30:00 +01:00' or '2019-040')
Parse an ISO 8601 period (interval) with start time (for example, '2005-040/2005-043')
Parse an ISO 8601 duration (for example, 'P1M')
Exit with error status if result does not match this text. Requires: -n or -d

Show result as a seconds since 0000-001 00:00:00Z
Show result as a seconds since EPOCH (1970-001 00:00:00Z)
Show result as a 'local' date/time
Show result as an 'ordinal' date/time
Show result as an 'calendar week' date/time

-$, --version
Display software version and exit
Increase debug output (may be specified multiple times)

For more information on the ISO 8601 standard, see https://en.wikipedia.org/wiki/ISO_8601

Written by Andrew Beekhof and the Pacemaker project contributors

July 2023 Pacemaker 2.1.5