sigkill-9 Posted March 7, 2009 Share Posted March 7, 2009 My web browser freaked out while posting, added this double post on accident... sorry... Link to comment https://forums.phpfreaks.com/topic/148394-need-help-accurately-calculating-a-rental-return-date-based-on-todays-date/ Share on other sites More sharing options...
v3nom Posted March 8, 2009 Share Posted March 8, 2009 Don't see your original post here, but where's how I would do it. $return = time() + (7 * 0 * 0 * 0); // today plus 7 days, 0 hours, 0 minutes, 0 seconds $returndate = date('m/d/Y', $return); // use the date format of your choosing echo "Return Date: $returndate"; Hope this helps. Link to comment https://forums.phpfreaks.com/topic/148394-need-help-accurately-calculating-a-rental-return-date-based-on-todays-date/#findComment-779273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.