3 ms·
This is only because many programming languages don’t have proper calendar-date data types. If they had, the values would just represent the dates, without an i
by layer8 4y ago
This is only because many programming languages don’t have proper calendar-date data types. If they had, the values would just represent the dates, without an implied time-of-day, and adding/subtracting integers would simply add/subtract the respective number of days.
- eurasiantiger 4y agoTrue, but the omission is for a reason: it’s not possible to reason about dates in a global context without considering time.