You are here: Re: Help: Date function not returning correct date & time « PHP Programming Language « IT news, forums, messages
Re: Help: Date function not returning correct date & time

Posted by Funnyweb on 05/29/05 00:32

"Ken Robinson" <kenrbnsn@rbnsn.com> wrote in message
news:1117247592.731272.70640@g43g2000cwa.googlegroups.com...
>
>
> Funnyweb wrote:
>> I have just notices that the date() function is not returning the correct
>> date/time on my "server".
>>
>> I am running apache2 on my winxp pro laptop.
>>
>> My system clock is set to the correct date, time and timezone, get the
>> results returned by date() are 11 hours behind.
>
> Without seeing a sample of you're code, it is impossible to say what
> might be wrong.
>
> Ken
>


There is nothing special about my code. All I do is call the date function.
For example:

$today = date("j M Y - H:i:s");

The result of this call is 11 hours behind my local time. I am in New
Zealand and the time being returned is what it would currently be in the UK.

Any ideas?

 

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

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