Check if this date is in the same second than other
bool isSameSecond(DateTime other) => secondsSinceEpoch == other.secondsSinceEpoch;