Show / Hide Table of Contents

Class DateTimeExtensions

Inheritance
Object
DateTimeExtensions
Inherited Members
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: SuperOffice.CRM
Assembly: SoDataBase.dll
Syntax
public static class DateTimeExtensions

Methods

ToLongDateString(DateTime, Boolean)

Declaration
public static string ToLongDateString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
Type Name Description
DateTime dateTime
Boolean replaceMinValueWithEmptyString
Returns
Type Description
String

ToLongTimeString(DateTime, Boolean)

Declaration
public static string ToLongTimeString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
Type Name Description
DateTime dateTime
Boolean replaceMinValueWithEmptyString
Returns
Type Description
String

ToShortDateString(DateTime, Boolean)

Declaration
public static string ToShortDateString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
Type Name Description
DateTime dateTime
Boolean replaceMinValueWithEmptyString
Returns
Type Description
String

ToShortTimeString(DateTime, Boolean)

Declaration
public static string ToShortTimeString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
Type Name Description
DateTime dateTime
Boolean replaceMinValueWithEmptyString
Returns
Type Description
String

ToString(DateTime, Boolean)

Declaration
public static string ToString(this DateTime dateTime, bool replaceMinValueWithEmptyString)
Parameters
Type Name Description
DateTime dateTime
Boolean replaceMinValueWithEmptyString
Returns
Type Description
String

ToString(DateTime, String, Boolean)

Declaration
public static string ToString(this DateTime dateTime, string format, bool replaceMinValueWithEmptyString)
Parameters
Type Name Description
DateTime dateTime
String format
Boolean replaceMinValueWithEmptyString
Returns
Type Description
String
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top