FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Date/Time warning
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Date/Time warning [message #177749 is a reply to message #177748] Fri, 20 April 2012 07:21 Go to previous messageGo to previous message
Goran is currently offline  Goran
Messages: 38
Registered: January 2011
Karma:
Member
On 20.4.2012 9:12, Torsten Jørgensen wrote:
> On 2012-04-20 06:47:06 +0000, Goran said:
>
>> On 20.4.2012 8:44, Torsten Jørgensen wrote:
>>> I get a warning about timezones when using date(). Is there something
>>> new in PHP, I've
>>> just migrated from one mac to another.
>>
>> Probably you should configure default time zone in php.ini.
>
> Thankyou, cool - but I can't find php.ini. Could you give me
> a little more help. I should probably write something like
> Europe/Copenhagen, but what is the directive exactly?

Which os you are using? If its linux try "locate php.ini"

date.timezone:
http://php.net/manual/en/datetime.configuration.php

Supported timezones:
http://php.net/manual/en/timezones.php
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: php include, function, ...
Next Topic: session question
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Dec 12 18:25:43 GMT 2024

Total time taken to generate the page: 0.06489 seconds