I installed PostgreSQL 9
and the time it is showing is 1 hour behind the server time.
Running Select NOW()
shows: 2011-07-12 11:51:50.453842+00
The server date shows: Tue Jul 12 12:51:40 BST 2011
It is 1 hour behind but the timezone shown in phppgadmin
is: TimeZone Etc/GMT0
I have tried going into the postgresql.conf
and setting
timezone = GMT
then running a restart but no change.
Any ideas I thought it would have just used the server timezone but obviously not?!
SOLUTION!:
I did set to GMT
before and it was an hour behind. after searching around turns out that I needed to set it to Europe/London
. This takes into account the +1 hour in British summer time, GMT does not!