bluesoul Posted January 10, 2009 Share Posted January 10, 2009 I have a static date and time in the future, and I need to have a simple echo of the difference in hours and minutes (or rounded hours) between now (when the page is called) and then. Can't seem to wrap my head around much this morning, can someone give me a hand? Link to comment https://forums.phpfreaks.com/topic/140300-solved-simple-difference-between-now-and-static-time/ Share on other sites More sharing options...
gevans Posted January 10, 2009 Share Posted January 10, 2009 Can you show your code? What format are you keeping the future date/time? Link to comment https://forums.phpfreaks.com/topic/140300-solved-simple-difference-between-now-and-static-time/#findComment-734124 Share on other sites More sharing options...
bluesoul Posted January 10, 2009 Author Share Posted January 10, 2009 Never mind, found a working script on php.net. Thanks though. Link to comment https://forums.phpfreaks.com/topic/140300-solved-simple-difference-between-now-and-static-time/#findComment-734149 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.