Date Time Extensions.Start Of Month Method
Returns the start of the month that contains the specified instant.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
The instant at the start of the month that contains date.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public static DateTime StartOfMonth(
this DateTime date
)
Parameters
- date DateTime
- An instant.
Return Value
DateTimeThe instant at the start of the month that contains date.