Index Ai Academy
Glossary · Phase 0 · Tools

ISO 8601

The standard way to write dates and times as text, like 2025-03-14T09:12:00, which sorts correctly and can't be misread.

For storing and exchanging dates, use ISO 8601: 2025-03-14T09:12:00. It's the format APIs and databases expect. It sorts correctly as plain text, and nobody has to guess whether 06/09 means June or September. isoformat() writes it and fromisoformat() reads it.

Try it now

A date has no time; a datetime is one moment; a timedelta is a length of time, with no start date.

Learn it properly

Dates, times and time zones · datetime, timedelta, formats, time zones and the traps when clocks change. About 40 minutes.

Start this free lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write