Converts the time value of this instance to a String.
[Visual Basic] Public Function ToLongTimeString() As String [C#] public string ToLongTimeString(); [C++] public: String* ToLongTimeString(); [JScript] public function ToLongTimeString() : String;
A string value containing the time value represented by this instance.
The ToLongTimeString method converts the time value to a string value, then the format of the return value is determined by the InvariantCulture For example, the English (United States) format is "hh:mm:ss PP", where:
To Format a DateTime using the CurrentCulture, use Format
DateTime Structure | DateTime Members | System Namespace | String | CultureInfo | DateTimeFormat | Calendar | DateTimeFormatInfo