Jump to content

Adding day's onto a specific date?


Solarpitch

Recommended Posts

Hey,

 

Just wondering if its possible to add a certain number of days onto a specific date. My date format is eg: 11-03-08. I want to be able to allow the user to select an input which will be a number. This number will take the current date and add that many days onto it.

 

Current Date: 11-03-08

 

User enters 3 days

 

New Date: 14-03-08

Link to comment
https://forums.phpfreaks.com/topic/95587-adding-days-onto-a-specific-date/
Share on other sites

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.