Returns this instance of DateTime format with the current culture string.
[Visual Basic] Overloads Public Function GetDateTimeFormats() As String () [C#] public string[] GetDateTimeFormats(); [C++] public: String* GetDateTimeFormats() []; [JScript] public function GetDateTimeFormats() : String[];
A string array containing all the known date and time options.
The GetDateTimeFormats method returns a string array containing the value of this instance. The strings are propertly formatted in date and time string for the current instance of the DateTimeFormatInfo object associated with the CultureInfo. (See CurrentCulture for addition information.)
DateTime Structure | DateTime Members | System Namespace | DateTime.GetDateTimeFormats Overload List