-
-
Notifications
You must be signed in to change notification settings - Fork 197
Date Options
GregFinzer edited this page Dec 20, 2017
·
2 revisions
Ignore millisecond differences between DateTime values or DateTimeOffset values. The default is 0 (any time difference will be shown).
CompareLogic compare = new CompareLogic();
compare.Config.MaxMillisecondsDateDifference = 0;When comparing DateTimeOffsets, offsets will be compared as well as the UtcDateTimes. The default is false.
CompareLogic compare = new CompareLogic();
compare.Config.CompareDateTimeOffsetWithOffsets = false;