AH> really? AH> how about the correct answer? AH> unlike many date questions, this seems really clear: AH> go back one in the month dimension AH> if this leaves you at an invalid day, then go to nearest valid day AH> (break ties any way you like).
That's not quite it, though, or you'd expect +$ date -d '-3 months' Fri Mar 2 09:45:59 EST 2012 to do March 1st or Feb 29th instead. -Josh (iril...@infersys.com) _______________________________________________ Tech mailing list Tech@lists.lopsa.org https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech This list provided by the League of Professional System Administrators http://lopsa.org/