CommonFunctionsEqualDateTimes Method

Tests whether two DateTime values are equal within the rounding errors that can occur if a DateTime is written to the SOM database and read back again.

Definition

Namespace: Scanjour.Workflow4.Base
Assembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.4.0.0 (24.4.0.0)
C#
public static bool EqualDateTimes(
	DateTime dateTime1,
	DateTime dateTime2
)

Parameters

dateTime1  DateTime
The first DateTime to compare
dateTime2  DateTime
The second DateTime to compare

Return Value

Boolean
Whether the given dates are within 1 second from each other

See Also