DateTimeExtensions
.
.
::
.
.
LastDayOfTheMonth Method
Retrieves the last day of the month of the
date
.
Namespace:
Core
Assembly:
Core
(in Core.dll)
Syntax
C#
public
static
DateTime
LastDayOfTheMonth
(
DateTime
date
)
Parameters
date
Type:
DateTime
A date from the month we want to get the last day.
Return Value
A DateTime representing the last day of the month.
See Also
DateTimeExtensions Class
Core Namespace