03-Apr-2023
.
Admin
Hi Guys,
In this example,I will learn you subtract months to current date in php.you can easy and simply subtract months to current date in php.
we will show subtract months in current date php.this tutorial will give you example of subtract months to current date using php.
Example:
<?php
$date = date('d-m-Y', strtotime('-1 months'));
echo $date;
?>
Output:
25-11-2020
It will help you...
#PHP