Gets the last day of month.
Gets the last date of the month of the DateTime.
DateTime lastDay = DateTime.Now.GetLastDayOfMonth();
Namespace:
Core
Assembly:
Core (in Core.dll)
Parameters
- dateTime
- Type: DateTime
The date time.
Return Value
returns DateTime