News for hackers. Stuff that matters.
Re:The Kobayashi Maru of comparing dates with times by whatgoodisaroad on Saturday February 12, 2022 @08:22PM (#30318175)
I would argue that both dates and datetimes dimensionally signify ranges of time with different lengths. A date being a range of ~24 hours and a time being a range of a minute/second/microsecond depending on the definition. It's rarely truly meant to signify an instantaneous point in time.

Looked at as ranges, equality can be defined as whether they overlap, and that works for most use cases but not all.

There are no comments on this comment yet.