Add "epoch" timestamp option

Add an option that prints the timestamp as the number of seconds since
the Unix epoch.
This commit is contained in:
Steve Marple 2024-08-23 12:11:05 +01:00 committed by Martin Lund
parent cdc773100c
commit f47467271f
6 changed files with 23 additions and 1 deletions

View file

@ -28,6 +28,7 @@ typedef enum
TIMESTAMP_24HOUR_START,
TIMESTAMP_24HOUR_DELTA,
TIMESTAMP_ISO8601,
TIMESTAMP_EPOCH,
TIMESTAMP_END,
} timestamp_t;