Click or drag to resize

DateTimeMathRoundUpToStartOfSecond Method

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

Parameters

x  DateTime
The date argument.

Return Value

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