zohab Posted July 25, 2011 Share Posted July 25, 2011 Hi, I want to find date difference between two dates without using strtotime function in php Date 1 : 07.01.2011 Date 2 : 07.25.2011 The function should return 24 number Link to comment https://forums.phpfreaks.com/topic/242708-date-difference-between-two-dates-without-strtotime-function-in-php/ Share on other sites More sharing options...
phpSensei Posted July 25, 2011 Share Posted July 25, 2011 Why don't you want to use strtotime? Link to comment https://forums.phpfreaks.com/topic/242708-date-difference-between-two-dates-without-strtotime-function-in-php/#findComment-1246630 Share on other sites More sharing options...
LeadingWebDev Posted July 25, 2011 Share Posted July 25, 2011 use mktime() or gmmktime() for a GMT Link to comment https://forums.phpfreaks.com/topic/242708-date-difference-between-two-dates-without-strtotime-function-in-php/#findComment-1246631 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.