Answers for "php time minus 5 days"

PHP
3

how to minus two dates in php

## CAN GET THE DIFFERENCE DATE BY DAY USING [PHP STRTOTIME FUNCTION]
echo (strtotime(date("2022-03-03")) - strtotime(date("2022-04-03"))) /60/60/24;
Posted by: Guest on April-06-2022

Browse Popular Code Answers by Language