Reply to Re: what is the meaning of this?

Your name:

Reply:


Posted by Janwillem Borleffs on 12/12/05 00:19

Chameleon wrote:
> What is the meaning of this message?
> How can I silence it without commenting the commented line?
>

Your server could be located in America, while your application is focussed
on European users, which can produce errors with date/time related
operations.

The fix is to follow the instruction and to apply the
date_default_timezone_set() function:

date_default_timezone_set('UTC');
$a = mktime(14, 0, 0, 12, 20, 2005);
echo date('d/m/Y', $a);

Instead of UTC, you can use any of the ones listed on the following page:

http://www.php.net/manual/en/timezones.php


JW

[Back to original 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

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