Converts the time value of the instance to a String.
[Visual Basic] Public Function ToShortTimeString() As String [C#] public string ToShortTimeString(); [C++] public: String* ToShortTimeString(); [JScript] public function ToShortTimeString() : String;
Returns a string value containing the time that this instance represents.
The ToShortTimeString method converts the time value to a string value and formats the return value determined by the InvariantCulture. The format is "hh:mm", where:
To Format a DateTime using the CurrentCulture, use Format
DateTime Structure | DateTime Members | System Namespace | String | DateTimeFormat | Calendar | CultureInfo | DateTimeFormatInfo