# Date-Time API

The java.time types for working with dates, times, durations, and time zones.

## What is **Date-Time API** in Java?

**Date-Time API** — The java.time types for working with dates, times, durations, and time zones.

```java
import java.time.LocalDate;

class Delivery {
    LocalDate deliveryDate = LocalDate.of(2026, 9, 27);
}
```

Level: Freelancer · [More Java terms at this level](https://www.ask-codey.com/glossary/subjects/java/freelancer)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/date-time-api
