I have a table that contains details on charitable donations and the date they were added to the database.
I am trying to write a query that will display the next date after today that will be a three month anniversary of the record being added to the database.
Given a date in the past, I want my query to return the next date in the future that is a multiple of 3 months from the original date i.e. the three month anniversary.
See below for some examples of expected output given todays date.
Date | Expected output
1st Feb 2015 | 1st May 2015,
1st Sep 2014 | 1st Jun 2015
Copyright Notice:Content Author:「Simon」,Reproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/29345378/generate-next-three-month-anniversary-date