subhomoy Posted March 16, 2013 Share Posted March 16, 2013 hello every one... I want to have something similar like this in php that calculate the difference between dates ... date format = d/m/yyyy date1 = 8/5/13 date2 = 5/7/13 how to calculate the difference between the two dates in days.... Any help..... Link to comment https://forums.phpfreaks.com/topic/275742-php-date/ Share on other sites More sharing options...
Jessica Posted March 16, 2013 Share Posted March 16, 2013 http://www.php.net/manual/en/datetime.diff.php You'll probably want to switch to storing your dates in ISO format, YYYY-MM-DD. Link to comment https://forums.phpfreaks.com/topic/275742-php-date/#findComment-1419018 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.