Skip to Content
gnux

--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

ShortLongValueDefaultMeaning
--rfc-3339FMToutput date/time in RFC 3339 format. FMT='date', 'seconds', or 'ns'

Examples

Produce a timestamp an API expects in RFC 3339

datex --rfc-3339=seconds

Help in the terminal

gnux help datex --rfc-3339

On this page