monkeybidz Posted December 2, 2007 Share Posted December 2, 2007 I need to get a_ends to be 30 minutes from a_starts. Sell duration = 1 day. $time = mktime( substr($sessionVars["SELL_starts"], 8, 2), substr($sessionVars["SELL_starts"], 10, 2), substr($sessionVars["SELL_starts"], 12, 2), substr($sessionVars["SELL_starts"], 4, 2), substr($sessionVars["SELL_starts"], 6, 2), substr($sessionVars["SELL_starts"], 0, 4)); $a_starts = date("YmdHis",$time); $a_ends = $time+$sessionVars["SELL_duration"]*24*60*60; $a_ends = date("YmdHis", $a_ends); Quote Link to comment Share on other sites More sharing options...
monkeybidz Posted December 2, 2007 Author Share Posted December 2, 2007 I just really need the code for a_ends to = 30 after mktime posted above. Quote Link to comment Share on other sites More sharing options...
monkeybidz Posted December 2, 2007 Author Share Posted December 2, 2007 OK! mktime+30 Minutes? 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.