Description

System.DateTime values are formatted by the System.DateTime.ParseExact and System.DateTime.ToString methods according to standard or custom patterns stored in the properties of a System.Globalization.DateTimeFormatInfo instance. The standard patterns can be accessed and modified through the associated System.Globalization.DateTimeFormatInfo properties. [Note: The format patterns and properties of a read-only System.Globalization.DateTimeFormatInfo instance cannot be changed. To determine whether a System.Globalization.DateTimeFormatInfo instance is read-only, use the System.Globalization.DateTimeFormatInfo.IsReadOnly property.]

Date and time format patterns are specified using strings called format specifiers. A string is interpreted ...

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.