gple Posted March 19, 2011 Share Posted March 19, 2011 $time="19:00:00"; how to do i output one hour later from the variable above? Link to comment https://forums.phpfreaks.com/topic/231100-add-1-hour-to-time/ Share on other sites More sharing options...
Pikachu2000 Posted March 19, 2011 Share Posted March 19, 2011 echo date('H:i:s', strtotime($time) + 3600); Link to comment https://forums.phpfreaks.com/topic/231100-add-1-hour-to-time/#findComment-1189573 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.