Click or drag to resize

DateTimeMathRoundDownToStartOfMonth Method

The date x is rounded down to the start of a month. If x designates exactly the start of a month, then x is returned unchanged.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static DateTime RoundDownToStartOfMonth(
	DateTime x
)

Parameters

x  DateTime
The date argument.

Return Value

DateTime
The date x is rounded down to the start of a month. If x designates exactly the start of a month, then x is returned unchanged. The time zone information of the return value is copied from x.
See Also