Hello everyone,
I have a problem with my PHP code. I want to add specific number of days to the current date, so that it will display the correct date after adding the number of days to the current date. For example the current date can be today's date and the number of days I would like to add is 4 days.
My PHP code:
[PHP]
<?php
$today = date("Y-m-d");
?>
[/PHP]
Please can someone help me on this. Thanx in advance.
I have a problem with my PHP code. I want to add specific number of days to the current date, so that it will display the correct date after adding the number of days to the current date. For example the current date can be today's date and the number of days I would like to add is 4 days.
My PHP code:
[PHP]
<?php
$today = date("Y-m-d");
?>
[/PHP]
Please can someone help me on this. Thanx in advance.
Comment