Class DateTimeExtensions
Inheritance
DateTimeExtensions
Assembly: SoDataBase.dll
Syntax
public static class DateTimeExtensions
Methods
ToLongDateString(DateTime, bool)
Declaration
public static string ToLongDateString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
| Type |
Name |
Description |
| DateTime |
dateTime |
|
| bool |
replaceMinValueWithEmptyString |
|
Returns
ToLongTimeString(DateTime, bool)
Declaration
public static string ToLongTimeString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
| Type |
Name |
Description |
| DateTime |
dateTime |
|
| bool |
replaceMinValueWithEmptyString |
|
Returns
ToShortDateString(DateTime, bool)
Declaration
public static string ToShortDateString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
| Type |
Name |
Description |
| DateTime |
dateTime |
|
| bool |
replaceMinValueWithEmptyString |
|
Returns
ToShortTimeString(DateTime, bool)
Declaration
public static string ToShortTimeString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
| Type |
Name |
Description |
| DateTime |
dateTime |
|
| bool |
replaceMinValueWithEmptyString |
|
Returns
ToString(DateTime, bool)
Declaration
public static string ToString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
| Type |
Name |
Description |
| DateTime |
dateTime |
|
| bool |
replaceMinValueWithEmptyString |
|
Returns
ToString(DateTime, string, bool)
Declaration
public static string ToString(this DateTime dateTime, string format, bool replaceMinValueWithEmptyString)
Parameters
Returns