RFC 3339

The internet standard timestamp format, such as 2025-01-02T03:04:05Z, that machines and people can both read without ambiguity.

In more detail

It orders date and time from largest to smallest unit and ends with a time zone offset, where Z means UTC. It is a sensible default for logs and data exchanged between machines.

Examples

t.Format(time.RFC3339)  // 2025-01-02T03:04:05Z
Go: t.Format(time.RFC3339) gives 2025-01-02T03:04:05Z

Related terms

Taught in

References