DateTimeOffsetExtensions.GetLastDayOfMonth method
Version 1.1.28
.NET Framework 4.8
Namespace | Skybrud.Essentials.Time.Extensions |
---|---|
Assembly | Skybrud.Essentials.dll |
GetLastDayOfMonth(DateTimeOffset)
Extension method
Gets the last day of the month of the specified date
.
public static DateTimeOffset GetLastDayOfMonth(this DateTimeOffset date)
Parameters
date
DateTimeOffset
An instance of DateTimeOffset representing the date.
Returns
An instance of DateTimeOffset representing the last day of the month.