Jump to content

Need help accurately calculating a rental return date based on todays date


sigkill-9

Recommended Posts

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.

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.