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
parent cdc773100c
commit 20f50281eb
6 changed files with 23 additions and 1 deletions

View file

@ -148,6 +148,8 @@ Set timestamp format to any of the following timestamp formats:
24-hour format relative to previous timestamp
.IP "\fBiso8601"
ISO8601 format ("YYYY-MM-DDThh:mm:ss.sss")
.IP "\fBepoch"
Seconds since Unix epoch (1970-01-01)
.PP
Default format is \fB24hour\fR
.RE