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.
Namespace: Scanjour.Workflow4.BaseAssembly: Scanjour.Workflow4.Base (in Scanjour.Workflow4.Base.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static bool EqualDateTimes(
DateTime dateTime1,
DateTime dateTime2
)
Public Shared Function EqualDateTimes (
dateTime1 As DateTime,
dateTime2 As DateTime
) As Boolean
public:
static bool EqualDateTimes(
DateTime dateTime1,
DateTime dateTime2
)
static member EqualDateTimes :
dateTime1 : DateTime *
dateTime2 : DateTime -> bool
Parameters
- dateTime1 DateTime
- The first DateTime to compare
- dateTime2 DateTime
- The second DateTime to compare
Return Value
BooleanWhether the given dates are within 1 second from each other
See Also