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