Description

The System.DateTime value type represents dates and times with values ranging from 00:00:00, 1/1/0001 (Common Era) to 23:59:59 PM, 12/31/9999.

[Note: Time values are measured in 100-nanosecond units, ticks, and a particular date is the number of ticks since 12:00 Midnight, January 1, 1 in the Gregorian calendar. For example, a ticks value of 31241376000000000L represents the date, Friday, January 01, 0100 12:00:00 AM. Time values can be added to, or subtracted from, an instance of System.DateTime. Time values can be negative or positive, and expressed in units such as ticks, seconds, or instances of System.TimeSpan. Methods and properties in this value type take into account details such as leap years and the number of days in a month. ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.