Answers for "how to get date yesterday in php"

PHP
6

yesterday php

date('F j, Y',strtotime("-1 days"));
Posted by: Guest on December-10-2020
1

yesterday php

date("F j, Y", time() - 86400);
Posted by: Guest on December-10-2020

Browse Popular Code Answers by Language