---
title: Dates and Times
framework: foundation
role: collectionGroup
role_heading: API Collection
path: foundation/dates-and-times
---

# Dates and Times

Compare dates and times, and perform calendar and time zone calculations.

## Topics

### Date Representations

- [Date](foundation/date.md)
- [DateInterval](foundation/dateinterval.md)
- [TimeInterval](foundation/timeinterval.md)

### Calendrical Calculations

- [DateComponents](foundation/datecomponents.md)
- [Calendar](foundation/calendar.md)
- [TimeZone](foundation/timezone.md)

### Date Formatting

- [DateFormatter](foundation/dateformatter.md)
- [DateComponentsFormatter](foundation/datecomponentsformatter.md)
- [DateIntervalFormatter](foundation/dateintervalformatter.md)
- [ISO8601DateFormatter](foundation/iso8601dateformatter.md)

### Internationalization

- [Locale](foundation/locale.md)

## See Also

### Fundamentals

- [Numbers, Data, and Basic Values](foundation/numbers-data-and-basic-values.md)
- [Strings and Text](foundation/strings-and-text.md)
- [Collections](foundation/collections.md)
- [Units and Measurement](foundation/units-and-measurement.md)
- [Data Formatting](foundation/data-formatting.md)
- [Filters and Sorting](foundation/filters-and-sorting.md)
