Click or drag to resize

DateTimeMathRoundUpToStartOfDay Method

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

Parameters

x  DateTime
The date argument.

Return Value

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