Several systems, large sites when it is possible to inform the time they ask for the choice of UTC or GMT. I already tried doing this in PHP, but I did not succeed using default_date_timezone_set()
, how can I do this?
Several systems, large sites when it is possible to inform the time they ask for the choice of UTC or GMT. I already tried doing this in PHP, but I did not succeed using default_date_timezone_set()
, how can I do this?
You can use date_default_timezone_set('UTC')
.
Coordinated Univeral Time is the same as
As it is conceptual, there is no better, no faster, none of this. But understand that UTC is a referential measure. The GMT is considered a time zone like any other time zone that is confused with UTC. In London / UK GMT is used most of the year as official spindle (but not all the time because of daylight saving time).
More information here and here .