This documentation is archived and is not being maintained.

DateTime.GetDateTimeFormats Method

Converts the value of this instance to all the string representations supported by the standard DateTime format specifiers.

Name Description
DateTime.GetDateTimeFormats () Converts the value of this instance to all the string representations supported by the standard DateTime format specifiers.

Supported by the .NET Compact Framework.

DateTime.GetDateTimeFormats (Char) Converts the value of this instance to all the string representations supported by the specified standard DateTime format specifier.

Supported by the .NET Compact Framework.

DateTime.GetDateTimeFormats (IFormatProvider) Converts the value of this instance to all the string representations supported by the standard DateTime format specifiers and the specified culture-specific formatting information.

Supported by the .NET Compact Framework.

DateTime.GetDateTimeFormats (Char, IFormatProvider) Converts the value of this instance to all the string representations supported by the specified standard DateTime format specifier and culture-specific formatting information.

Supported by the .NET Compact Framework.

Show: