The Following code i use in my scripts for getting the date
<?php echo date("Y-m-d", strtotime("tommorow")); ?>
<?php $tomorrow = mktime(0, 0, 0, date("m"), date("d")+1, date("Y")); echo "".date("Y-m-d", $tomorrow); ?>
now i get the error in php 5
It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone
Just set your timezone at the top of your script, for example, for London: