Dates and times
The types for dates, times and durations, how to read the clock, and how to work across zones and show a time to people.
| Time types Store a moment as an |
| Durations A duration is a length of time, such as a timeout. |
| The current time: clock.now
|
| Arithmetic and comparison Add a duration to an instant to get a later instant, and take one instant from another to get the time between them. |
| Zones and local times A zone turns an instant into the local time people see on a clock. |
| Showing dates and times to people To show a date or a time to a person, format it with |
Markdown for agents: /docs/dates-and-times.md.Built from Jadpo main at 6cc3cb4.