SyntaxFix
Write A Post
Hire A Developer
Questions
//1 year from today's date echo date('d-m-Y', strtotime('+1 year')); //1 year from from specific date echo date('22-09-Y', strtotime('+1 year'));
hope this simpler bit of code helps someone in future :)