Just insert below code and you will get the previous date
<?php echo date(“D jS M Y”,strtotime(“-1 days”));?>
Here is output Mon 10th Aug 2020
Just use below code and modified according to your need. Note: this is very useful…
Steps: AWS puttyubuntu sudo su apt update apt install apache2 service apache2 start service apache2…