News for hackers. Stuff that matters.
Re:The Kobayashi Maru of comparing dates with times by danbruc on Saturday February 12, 2022 @06:52PM (#30317598)
If the date is, for example, the starting date of a contract, then the date is most likely just a shorthand for 00:00:00 on that date. With that there is no problem at all comparing the date with an instant and decide whether the instant is before or after the contract went into effect. This is not arbitrary, this is making explicit use of otherwise implicit domain knowledge.

There are no comments on this comment yet.