How to Subtract one Year in Current date using PHP
In this tutorial i will show you how to subtract one year in current date using PHP. Many project need this type speciality so, let’s start in code so you are easily understand how to subtract one year.
PHP Code
<?php
echo date('Y/m/d',strtotime("-1 year"));
?>
And if you like this tutorials please share it with your friends via Email or Social Media.
Leave a Reply