Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #5580

Re: Date/Time warning

From Goran <goran@nospam.com>
Newsgroups comp.lang.php
Subject Re: Date/Time warning
Date 2012-04-20 09:21 +0200
Organization T-Com
Message-ID <jmr2p7$d0e$1@ss408.t-com.hr> (permalink)
References <2012042008442967926-info@stconinccom> <jmr0pa$9rl$1@ss408.t-com.hr> <2012042009124657118-info@stconinccom>

Show all headers | View raw


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

Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 08:44 +0200
  Re: Date/Time warning Goran <goran@nospam.com> - 2012-04-20 08:47 +0200
    Re: Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 09:12 +0200
      Re: Date/Time warning Goran <goran@nospam.com> - 2012-04-20 09:21 +0200
        Re: Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 09:49 +0200
          Re: Date/Time warning Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-20 08:13 -0400
            Re: Date/Time warning Tim Streater <timstreater@greenbee.net> - 2012-04-20 15:43 +0100
              Re: Date/Time warning Jerry Stuckle <jstucklex@attglobal.net> - 2012-04-20 14:21 -0400
                Re: Date/Time warning Tim Streater <timstreater@greenbee.net> - 2012-04-20 20:31 +0100
          Re: Date/Time warning Denis McMahon <denismfmcmahon@gmail.com> - 2012-04-20 15:03 +0000
        Re: Date/Time warning Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-21 19:09 +0200
      Re: Date/Time warning Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-04-21 18:56 +0200
  Re: Date/Time warning "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2012-04-20 09:59 +0200
  Re: Date/Time warning Tim Streater <timstreater@greenbee.net> - 2012-04-20 10:23 +0100
    Re: Date/Time warning Torsten Jørgensen <info@stconinc.com> - 2012-04-20 11:27 +0200

csiph-web