Returns a string array containing all of the known date and time options for the current culture.
[Visual Basic] Overloads Public Function GetAllDateTimes() As String () [C#] public string[] GetAllDateTimes(); [C++] public: String* GetAllDateTimes() []; [JScript] public function GetAllDateTimes() : String[];
A string array.
The GetAllDateTimes 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.)
Returns a string array containing all of the known date and time options.
DateTime Structure | DateTime Members | System Namespace | DateTime.GetAllDateTimes Overload List | String | CultureInfo | DateTimeFormat