1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38
|
Usage: datezone [OPTION]... [ZONENAME]... [DATE/TIME]...
Convert DATE/TIMEs between timezones.
If DATE/TIME is omitted, it defaults to `now'.
DATE/TIME can also be one of the following specials
- `now' interpreted as the current (UTC) time stamp
- `time' the time part of the current (UTC) time stamp
- `today' the current date (according to UTC)
- `tomo[rrow]' tomorrow's date (according to UTC)
- `y[ester]day' yesterday's date (according to UTC)
-q, --quiet Suppress message about date/time or zonename
parser errors and fix-ups.
The default is to print a warning or the
fixed up value and return error code 2.
-b, --base=DT For underspecified input use DT as a fallback to
fill in missing fields. Also used for ambiguous
format specifiers to position their range on the
absolute time line.
Must be a date/time in ISO8601 format.
If omitted defaults to the current date/time.
-i, --input-format=STRING... Input format, can be used multiple times.
Each date/time will be passed to the input
format parsers in the order they are given, if a
date/time can be read successfully with a given
input format specifier string, that value will
be used.
--from-locale=LOCALE Interpret dates on stdin or the command line as
coming from the locale LOCALE, this would only
affect month and weekday names as input formats
have to be specified explicitly.
--from-zone=ZONE Interpret dates on stdin or the command line as
coming from the time zone ZONE.
--next Show next transition from/to DST.
--prev Show previous transition from/to DST.
|