Answers for "php get day before date"

PHP
1

php strtotime 1 day ago from

date('Y-m-d', strtotime('+1 day', strtotime($date)))
Posted by: Guest on July-13-2020
0

php date start of day

$startOfDay=date("Y-m-d 00:00:00");
Posted by: Guest on June-26-2021

Browse Popular Code Answers by Language