This question already has an answer here:
- Adding days to $Date in PHP 9 answers
- Adding minutes to date time in PHP 13 answers
I need to add 24 hours
into given datetime value using PHP. I am explaining my code below.
$value['date_added'] = date('d.m.Y h:i A',strtotime($value['date_added']));//08.01.2019 06:18 AM
Here I need to create one more value i.e-$value['due_date']
which should contain the 24 hours addition into $value['date_added'] i.e-08.01.2019 06:18 AM
. Please help me to resolve this issue.
</div>