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