--rfc-3339
Output date/time in RFC 3339 format. FMT='date', 'seconds', or 'ns'.
An option of datex.
Usage
datex --rfc-3339=FMT [+FORMAT]Details
| Short | Long | Value | Default | Meaning |
|---|---|---|---|---|
--rfc-3339 | FMT | output date/time in RFC 3339 format. FMT='date', 'seconds', or 'ns' |
Examples
Produce a timestamp an API expects in RFC 3339
datex --rfc-3339=secondsHelp in the terminal
gnux help datex --rfc-3339