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..... Quote Link to comment Share on other sites More sharing options...
Solution Jessica Posted March 16, 2013 Solution 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.