Click or drag to resize

DateTimeMathRoundDownToStartOfYear Method

The date x is rounded down to the start of a year. If x designates exactly the start of a year, 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 RoundDownToStartOfYear(
	DateTime x
)

Parameters

x  DateTime
The date argument.

Return Value

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