Here; is my scenario;
A prisoner is admitted in a prison at this date:: 2011-05-05, he was sentenced for 5 years
so how do i calculate date additions so the results give me 2016-05-05, as this is the exact date he is to be released from prison.
the addition should be based on the number of years sentenced.
it looks like the algorithm should only add year, then months and days should be static.
help me out, thanx in advance.