Pages

Wednesday, August 10, 2011

Getting Previous or Next Dates in PHP

date('Y-m-d',strtotime($date +1 day));
date('Y-m-d',strtotime($date +1 month));
date('Y-m-d',strtotime($date +1 year));

No comments:

Post a Comment