The DateTimeExtension type exposes the following members.

Methods

  Name Description
Public method Static member ConvertToPrettyDateTimeString
Converts the date difference to pretty date time string.
Public method Static member StartOfMonth
Get start of the month date.
Public method Static member StartOfWeek(DateTime)
Get start of the week date.
Public method Static member StartOfWeek(DateTime, DayOfWeek)
Get start of the week date.
Public method Static member ToPrettyDateString
Converts the DateTime to a pretty date format e.g. 1 day ago.
Public method Static member ToPrettyUniversalTimeString
Converts the DateTime to a pretty date format compared to e.g. 1 day ago.

See Also