Class DateUtils
Assembly: DotNetNuke.dll
Syntax
Constructors
DateUtils()
Declaration
Methods
CalculateDateForDisplay(DateTime)
Declaration
public static string CalculateDateForDisplay(DateTime date)
Parameters
Returns
GetDatabaseDateTimeOffset()
Declaration
public static TimeZoneInfo GetDatabaseDateTimeOffset()
Returns
GetDatabaseLocalTime()
Declaration
public static DateTime GetDatabaseLocalTime()
Returns
GetDatabaseTime()
Declaration
[Obsolete("Deprecated in DotNetNuke 9.1.0. Replaced by GetDatabaseUtcTime. Scheduled for removal in v11.0.0.")]
public static DateTime GetDatabaseTime()
Returns
GetDatabaseUtcTime()
Declaration
public static DateTime GetDatabaseUtcTime()
Returns
Extension Methods