News for hackers. Stuff that matters.
Re:A day is not 60*60*24 seconds long by DrScump on Thursday January 14, 2016 @05:43PM (#10905334)
Time arithmetic is always fun. The original ANSI SQL standard had the intelligent distinction between year-month intervals and date-time intervals for just this reason - you have to watch for errors to choose how to hand out-of-bounds conditions (e.g. "myDate + 1 units year" when myDate == 2016/03/29).

There are no comments on this comment yet.