DateTime
The .NET value type that represents a date and time of day.
In more detail
It is a value type, so it is copied on assignment. For times that must be unambiguous across time zones, DateTimeOffset also stores the offset from UTC.
Related terms
- value type — A type whose variables hold the data itself, so assigning one to another copies the whole value.
- UTC — Coordinated Universal Time, the worldwide reference time that does not change with seasons or time zones.
Taught in
- The C# Language: Types, Variables, and Flow Control — Modern .NET Core, C# & Enterprise Microservices