
John Haywood - 2016-11-06 14:05:06
Looking forward to trying this Class out in the next few days as I'm specifically looking for an easy way to add 30 days to a given date in MySQL date format.
All other code and Classes I have come across seems to add 30 days but fails to test if the new date is actually a valid date or not - I need to be able to add 30 days, then if the date is invalid, to be able to remove 1 day until the date is valid.
e.g 30th January + 30 days gives an invalid date.