in reply to Re^2: Hash Math
in thread Hash Math
There is no subtraction in my posted code. What code did you run? My best guess is that you've forgotten some quoting around your dates.
Note that if you are using ISO 8601 w/ hyphens, the numerical comparison (the next if... bit) will break down, and so you'll need to use DateTime's built-in comparator.
#11929 First ask yourself `How would I do this without a computer?' Then have the computer do it the same way.
|
|---|