mysql - How to Add month to a date while keeping the last month of a given month -
can me on how add month date while keeping last day of month?
suppose have updated first data on 2013-01-29, when adding 1 month date, 2013-02-28. everytime add 1 month again on latest date, becomes 2013-03-28 must 2013-03-29. perfect command in mysql query can use.
thanks in advance.
unless preserving "first data" somewhere, impossible build logic achieve functionality expecting.
please elaborate in detail data model , business use case
Comments
Post a Comment