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