Converting timezone
Posted: Mon Oct 30, 2006 12:18 pm
I was trying to figure out how to convert between timezones and several google sites are recommending to use the perl Date class because one does not have to worry about daylight saving time and others. To use the perl Date class, one must include ("Date.php") in the php file. But when executing the php file that contains the include ("Date.php"), I am getting the following error message:
Warning: main(Date.php) [function.main]: failed to open stream: No such file or directory in /myhome/public_html/showTime.php on line 2
Warning: main() [function.include]: Failed opening 'Date.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /myhome/public_html/showTime.php on line 2
Warning: main(Date.php) [function.main]: failed to open stream: No such file or directory in /myhome/public_html/showTime.php on line 2
Warning: main() [function.include]: Failed opening 'Date.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /myhome/public_html/showTime.php on line 2