# DateTime

*noun*

say it: **“DAYT-tym”** **/ˈdeɪttaɪm/**

A C# type that holds a date and a time of day.

## What is **DateTime** in C#?

**DateTime** — A value type representing a date and time, optionally related to local time or UTC.

```csharp
class Delivery
{
    DateTime deliveryDate = new(2026, 9, 27);
}
```

## In a sentence

- “The order's **DateTime** says it was placed on 27 October at 9:15.”

Level: Journeyman · [More C# terms at this level](https://www.ask-codey.com/glossary?category=c-sharp&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/datetime
