System.Globalization Namespace DateTimeFormatInfo Class
Sets or retrieves the format pattern for a short time value, which is associated with the 't' format character.
[ VB ]
public Property ShortTimePattern As String
[ C# ]
public string ShortTimePattern {get; set;}
[ C++ ]
public: __property String* get_ShortTimePattern ( );
public: __property void set_ShortTimePattern ( String* );
[ JScript ]
function get ShortTimePattern ( ) : String;
public function set ShortTimePattern ( String );
The format pattern for a short time value, which is associated with the 't' format character.
See DateTimeFormatInfo for patterns that can be combined to construct custom patterns; for example, "HH:mm".
The below shows the ShortTimePattern used for each of the available cultures.
Show me
DateTimeFormatInfo Members ShortDatePattern