CommonFunctionsEqualDateTimes Method

Scanjour Workflow4 Reference Manual
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.

Namespace:  Scanjour.Workflow4.Base
Assembly:  Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 23.1.0.0 (23.1.0.0)
Syntax

public static bool EqualDateTimes(
	DateTime dateTime1,
	DateTime dateTime2
)

Parameters

dateTime1
Type: SystemDateTime
The first DateTime to compare
dateTime2
Type: SystemDateTime
The second DateTime to compare

Return Value

Type: Boolean
Whether the given dates are within 1 second from each other
See Also

Reference