System.Globalization Namespace DateTimeFormatInfo Class
Sets or retrieves the format pattern for a short date value, which is associated with the 'd' format character.
[ VB ]
public Property ShortDatePattern As String
[ C# ]
public string ShortDatePattern {get; set;}
[ C++ ]
public: __property String* get_ShortDatePattern ( );
public: __property void set_ShortDatePattern ( String* );
[ JScript ]
function get ShortDatePattern ( ) : String;
public function set ShortDatePattern ( String );
The format pattern for a short date value, which is associated with the 'd' format character.
See DateTimeFormatInfo for patterns that can be combined to construct custom patterns; for example, "MM/dd/yyyy".
This property is affected if the value of the Calendar property changes.
The below shows the ShortDatePattern used for each of the available cultures.
Show me
DateTimeFormatInfo Members ShortTimePattern