DateTimeExtensions.GetLastDayOfMonth method

Version 1.1.28
.NET Framework 4.8
Namespace Skybrud.Essentials.Time.Extensions
Assembly Skybrud.Essentials.dll

GetLastDayOfMonth(DateTime)

Extension method

Gets the last day of the month of the specified date.

public static DateTime GetLastDayOfMonth(this DateTime date)

Parameters

date DateTime

An instance of DateTime representing the date.

Returns

An instance of DateTime representing the last day of the month.