Is there any reason why calling the function date_default_timezone_set() will cause a fatal error to appear?
The script is as taken from the Wrox Publishing book Beginning PHP6, Apache, MySQL Web Development.
<?php
date_default_timezone_set('America/New_York');
echo 'Today is ';
echo date('F d');
echo ', ';
echo date ('Y');
?>
The error received is "PHP Fatal error: Call to undefined function: date_default_timezone_set()"