Closed valioDOTch closed 9 years ago
yes, using the diff* functions is your best bet because it takes into account ambiguous timezones as well.
however, you can do the comparisons you want w/o them. you just need to cast to an int first, so prepend with +
.
more info here: http://arshaw.com/xdate/#Inconsistencies
It seems that the common comparators are not fully supported.
So are we supposed to do comparisons solely with diffXxx functions?