Hello, looking for some help with dates in php.
I'm using two dates for a project I'mworking on. A start date and an end date.
Start date is just todays date. Using:
$dateCreated = Date('y-m-d');
to do this. Want the end date to be something like 60 days from the start date. Have tried a few different ways of doing this but none seem to insert a valid date into my mySQL database table.
Can anyone help out?
Will I need to change the format of the $dateCreated to something that can be used to calculate a future date?
Thanks if you can offer some help.