4 ms·
My intuition is that a "date" is a bounded range of times 24 hours long. So we should speak about dates containing times, or dates subsetting, supersetting, or
by AprilArcus 5y ago
My intuition is that a "date" is a bounded range of times 24 hours long. So we should speak about dates containing times, or dates subsetting, supersetting, or intersecting other time ranges.
- verve_rat 5y agoUm, add in a daylight savings transition and that "date" could be 23 or 25 hours long. And that is not even getting into what a day means when you are trying to coordinate between NZ and the UK.
- AprilArcus 5y agoGood point! ISO 8601 dates should support timezones. Then a 24-hour "date" could only be in one of standard time or daylight time.
- Izkata 5y agoTo really get confusing, let's add in leap seconds. They're added "as needed" and it looks like our most recent one was in 2016. https://en.wikipedia.org/wiki/Leap_second https://en.wikipedia.org/wiki/Leap_second