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 Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.