stupid question but...
In php.ini (PHP5)

I want timezone to be set to GMT

so what do i change/ activate?
:o

[Date]
; Defines the default timezone used by the date functions
;date.timezone =

;date.default_latitude = 31.7667
;date.default_longitude = 35.2333

;date.sunrise_zenith = 90.583333
;date.sunset_zenith = 90.583333

    Or just "GMT", as defined on the [man]timezones.others[/man] page.

    EDIT: Also, autocolismo, make sure your signature stays appropriate and doesn't violate the forum rules and the AUP.

      weird
      I found a way
      date.timezone = Etc/GMT-1

      My timezone is GMT, my system has the correct hour. If i define here "Etc/GMT" it gives-me one hour earlier, so to increase one hour i have to define "Etc/GMT-1"

      I think i better go to the bar and get drunk, because....
      This makes no sense.
      🙂))

        Incidentally, you did see the note on that page, didn't you?

        Note: Please do not use any of the timezones listed here, they only exist for backward compatible reasons.

        I suggest you use one of the more specific timezone settings (e.g., Europe/Lisbon) that are supported.

        This may also allow proper handling of Daylight Saving (UTC doesn't do Daylight Saving, naturally).

          Weedpacket wrote:

          Incidentally, you did see the note on that page, didn't you?

          Oi, who put that there?! :o

            Write a Reply...