~/ISO 8601
Oct 12, 2022
The command date --iso-8601=ns --utc
outputs the current date and time in UTC, formatted to ISO 8601.
2022-10-11T11:03:12.123456789+0000
Here’s a breakdown of the format:
2022-10-11
(year-month-day)T
separates the date and time11:03:12.123456789
(hours:minutes:seconds.nanoseconds)+0000
indicates the UTC time zone
References