This entry was posted on Wednesday, May 25th, 2005 at 4:44 am and is filed under Uncategorized, Tech data. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.
Like the numeric data types, the DateTime data type implements IFormattable, allowing it to be formatted as a string with one of the overloads of DateTime.ToString. The standard format provider class used for formatting DateTime objects in the .NET Framework is DateTimeFormatInfo.
DateTime format strings fall into two categories: standard format strings and custom format strings. The output of the standard format strings is influenced by the current culture (a passed CultureInfo object or the one associated with the current thread). The custom format strings allow DateTime objects to be formatted for situations where the standard formatting strings are not useful.