NAME
tai -- print the current TAI time.
SYNOPSIS
tai
tai --help
tai --35 --iso --gm --p=6
DESCRIPTION
Displays the current TAI time (TAI-10 by default) in any of a number of formats.
Currently supported options:
-d Display in human-readable date/time format
-h Describe available options
-i Display TAI time as integer, not floating point
--0 Display TAI time instead of TAI-10 time
--35 Display TAI-35 time instead of TAI-10 time
--gm Do not adjust for timezone when -d or --iso
--help Same as -h
--iso Display in international standard time format
--iso8601 Like --iso, but more strictly correct.
--neol Do not print terminating EOL
--p=N Show N digits of precision when displaying as float
(default: 9)
EXAMPLES
Display TAI-10 as a floating point number with 6 digits of precision:
$ tai --p=6
1406506285.304316
Display TAI-10 as an integer:
$ tai -i
1406506285
Display TAI-10 as a human-readable date/time, adjusted for local timezone:
$ tai -d
Mon Jul 28 13:27:57 2014
Display TAI-10 as a (relaxed) ISO-8601 date/time, unadjusted for timezone:
$ tai --iso --gm
2014-07-28 20:29:12.512542725
Display TAI-35 as a strict ISO-8601 date/time, adjusted for local timezone:
$ tai --iso8601 --35
2014-07-28T13:28:37.512542725-0700
SEE ALSO
AUTHOR
TTK Ciar, <ttk[at]ciar[dot]org>
COPYRIGHT AND LICENSE
Copyright 2014-2015 by TTK Ciar
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.