DateTimeResolution Enum
Definition
Specifies the resolution level for a DateTime value.
public enum DateTimeResolution
- Extension Methods
Fields
Year = 0Indicates resolution to a whole year.
Month = 1Indicates resolution to a whole month.
Day = 2Indicates resolution to a whole day.
Hour = 3Indicates resolution to a whole hour.
Minute = 4Indicates resolution to a whole minute.
Second = 5Indicates resolution to a whole second.
Millisecond = 6Indicates resolution to a whole millisecond.
Tick = 7Indicates resolution to a whole tick.
Applies to
| Product | Versions |
|---|---|
| .NET | 8, 10 |