Returns the .NET date format that will be used to Format the date.
Note that parsing the date uses System.DateTime.ParseExact(System.String,System.String,System.IFormatProvider).
Declaration
public string GetDateFormat()
Returns
Type |
Description |
System.String |
|
Declaration
public static string GetDateFormat(DateFormat dateStyle, DateFormat timeStyle, CultureInfo locale)
Parameters
Type |
Name |
Description |
DateFormat |
dateStyle |
|
DateFormat |
timeStyle |
|
System.Globalization.CultureInfo |
locale |
|
Returns
Type |
Description |
System.String |
|