In this tutorial i will show you how to get yesterday date in PHP means subtract one day. so lets start in code so you are easily understand how to subtract one day. You may also like How to add one year in current date using php and How to Add Months to Date in PHP.
<?php echo date('Y/m/d',strtotime("-1 days")); ?>
And if you like this tutorials please share it with your friends via Email or Social Media.