Answers for "how to minus tow time in php"

PHP
3

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