pagegen Posted August 23, 2010 Share Posted August 23, 2010 $date = date('G:i', $row_teams['startTime']); // this date looks like this 15:30 I am trying to add 2 hours to it, any suggestions plz Link to comment https://forums.phpfreaks.com/topic/211484-add-2-hours-to-a-time-varuable/ Share on other sites More sharing options...
MadTechie Posted August 23, 2010 Share Posted August 23, 2010 Your probably kick yourself $date = date('G:i', $row_teams['startTime'] + 2*60*60); // this date looks like this 15:30 Link to comment https://forums.phpfreaks.com/topic/211484-add-2-hours-to-a-time-varuable/#findComment-1102650 Share on other sites More sharing options...
pagegen Posted August 23, 2010 Author Share Posted August 23, 2010 perfect, thank you very much Link to comment https://forums.phpfreaks.com/topic/211484-add-2-hours-to-a-time-varuable/#findComment-1102654 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.