You are here: date.timezone = 'UCT' in php.ini not working « PHP Programming Language « IT news, forums, messages
date.timezone = 'UCT' in php.ini not working

Posted by damezumari on 07/09/07 21:45

The server I use has PHP Version 4.4.7 and this instruction creates an
error:

<?php date_default_timezone_set('UCT'); echo date('h:ia');?>

php Help advises me to change php.ini instead:

date.timezone = 'UCT'

However, when I do the time shown seems to be that of the server, not
of UCT.

What am I doing wrong?

Regards,

Jan Nordgreen

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация