timeconvert - Display time stamps in a variety of formats
timeconvert -h
timeconvert --systems
timeconvert [-d] [-v] [-A \argarg{TIME}] [-c \argarg{TIME}] [-R \argarg{TIME}] [-o \argarg{TIME}] [-f \argarg{TIME}] [-w \argarg{TIME}] [--z29 \argarg{TIME}] [-Z \argarg{TIME}] [-j \argarg{TIME}] [-m \argarg{TIME}] [-u \argarg{TIME}] [-y \argarg{TIME}] [--src-sys \argarg{ARG}] [--tgt-sys \argarg{ARG}] [--nav \argarg{ARG}] [--input-format \argarg{ARG}] [--input-time \argarg{ARG}] [--offset] [-F \argarg{ARG}] [-a \argarg{NUM}] [-s \argarg{NUM}]
This application allows the user to convert between time formats associated with GNSS. Time formats include, but are not limited to: civilian time, Julian day of year and year, GPS week and seconds of week, Z counts, and Modified Julian Date (MJD).
\dictionary \dicterm{-d, --debug} \dicdef{Increase debug level} \dicterm{-v, --verbose} \dicdef{Increase verbosity} \dicterm{-h, --help} \dicdef{Print help usage} \dicterm{-A, --ansi=\argarg{TIME}} \dicdef{"ANSI-Second"} \dicterm{-c, --civil=\argarg{TIME}} \dicdef{"Month(numeric) DayOfMonth Year Hour:Minute:Second"} \dicterm{-R, --rinex-file=\argarg{TIME}} \dicdef{"Year(2-digit) Month(numeric) DayOfMonth Hour Minute Second"} \dicterm{-o, --ews=\argarg{TIME}} \dicdef{"GPSEpoch 10bitGPSweek SecondOfWeek"} \dicterm{-f, --ws=\argarg{TIME}} \dicdef{"FullGPSWeek SecondOfWeek"} \dicterm{-w, --wz=\argarg{TIME}} \dicdef{"FullGPSWeek Zcount"} \dicterm{--z29=\argarg{TIME}} \dicdef{"29bitZcount"} \dicterm{-Z, --z32=\argarg{TIME}} \dicdef{"32bitZcount"} \dicterm{-j, --julian=\argarg{TIME}} \dicdef{"JulianDate"} \dicterm{-m, --mjd=\argarg{TIME}} \dicdef{"ModifiedJulianDate"} \dicterm{-u, --unixtime=\argarg{TIME}} \dicdef{"UnixSeconds UnixMicroseconds"} \dicterm{-y, --doy=\argarg{TIME}} \dicdef{"Year DayOfYear SecondsOfDay"} \dicterm{--systems} \dicdef{List available time systems} \dicterm{--src-sys=\argarg{ARG}} \dicdef{Source time system when converting between systems} \dicterm{--tgt-sys=\argarg{ARG}} \dicdef{Target time system when converting between systems} \dicterm{--nav=\argarg{ARG}} \dicdef{Where to get the navigation data. Can be RINEX2, RINEX3.} \dicterm{--input-format=\argarg{ARG}} \dicdef{Time format to use on input} \dicterm{--input-time=\argarg{ARG}} \dicdef{Time to be parsed by "input-format" option} \dicterm{--offset} \dicdef{Only display the offset at the reference time} \dicterm{-F, --format=\argarg{ARG}} \dicdef{Time format to use on output} \dicterm{-a, --add-offset=\argarg{NUM}} \dicdef{Add NUM seconds to specified time} \dicterm{-s, --sub-offset=\argarg{NUM}} \dicdef{Subtract NUM seconds from specified time} \enddictionary
Show current time in the GPS time system.
Convert GPS time to UTC.
Show the current UTC-GPS offset in seconds.
Convert GPS time to UTC using RINEX NAV DELTA-UTC headers.
List supported time systems:
The following exit values are returned: \dictable \dictentry{0,No errors occurred} \dictentry{1,A C++ exception occurred (typically invalid time format or value)} \enddictable