How to get previous date from given date in php
How to get the previous date from a given date in PHP
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
by Basant | Aug 11, 2020 | PHP
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
https://amzn.to/2X3AXR1
I am an experienced PHP web developer and completed several web development projects successfully using Html5, CSS3, Bootstrap, Tailwind CSS, JavaScript, jQuery, React JS, PHP, Laravel, Cakephp, WordPress, Woocommerce, Postgres SQL and Mysqli. I am a Part time freelancer and working for a Reputed Company and work with an employer.
[la_instagram]