Méthode | Description | |
---|---|---|
LocaleDate ( System.DateTime userDateTime ) : string |
Returns a formatted date string depending upon the system Locale.
|
|
LocaleDate ( System.DateTime userDateTime, string dtFormat ) : string |
Returns a formatted date string depending upon the system Locale.
|
|
LocaleLogStamp ( ) : string |
Returns a formatted date time string depending upon the system Locale. Used for logging
|
|
LocaleTimeDate ( ) : string |
Returns a formatted date time string depending upon the system Locale.
|
|
SetCurrentCulture ( ) : void |
Set Culture to en-US to make string processing of numbers simpler.
|
public static LocaleDate ( System.DateTime userDateTime ) : string | ||
userDateTime | System.DateTime | |
Résultat | string |
public static LocaleDate ( System.DateTime userDateTime, string dtFormat ) : string | ||
userDateTime | System.DateTime | User date time. |
dtFormat | string | DateTime format if required. |
Résultat | string |