2 ms·
No if you are manipulating dates do not use time. Use an integer type denoting days since the start date. See Modified Julian date. Thus tomorrow is always 1
by pasc1878 3y ago
No if you are manipulating dates do not use time.
Use an integer type denoting days since the start date. See Modified Julian date.
Thus tomorrow is always 1 more than today - if you have times you need leap seconds.
- JR1427 3y agoThanks for the explanation! (edit - this was meant genuinely, not sarcastically) Slightly sad to have been downvoted, though, just for making a tentative suggestion (note use of question mark) :'(