jakebur01 Posted August 12, 2008 Share Posted August 12, 2008 I am trying to add one hour onto $Endtime. I can't get it to work correctly. $Starttime = mktime($Hour, 0, 0, $Month, $Day, $Year); $Endtime = mktime($Hour+1, 0, 0, $Month, $Day, $Year); Quote Link to comment Share on other sites More sharing options...
DarkWater Posted August 12, 2008 Share Posted August 12, 2008 $starttime = mktime($Hour, 0, 0, $Month, $Day, $Year); $endtime = $starttime + (60 * 60); There you go. Quote Link to comment Share on other sites More sharing options...
jakebur01 Posted August 12, 2008 Author Share Posted August 12, 2008 Will this work just the same? $Endhour=$Hour+1; $Starttime = mktime($Hour, 0, 0, $Month, $Day, $Year); $Endtime = mktime($Endhour, 0, 0, $Month, $Day, $Year); Thanks, Jake Quote Link to comment Share on other sites More sharing options...
DarkWater Posted August 12, 2008 Share Posted August 12, 2008 I like mine better. Try it. >_< Quote Link to comment 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.