Returns true if the two date times are equal when rounded down to the second.
public static bool AreSameSecond(DateTime left, DateTime right)
Use this method to compare date times that are serialized with a format that doesn’t preserve sub-seconds.
Returns true if the two date times are equal when rounded down to the second.
public static bool AreSameSecond(DateTime? left, DateTime? right)
Use this method to compare date times that are serialized with a format that doesn’t preserve sub-seconds.