According to the documentation for CONVERT_TZ I should be able to type in:
SELECT CONVERT_TZ('2004-01-01 12:00:00','GMT','MET');
and get
'2004-01-01 13:00:00'
However on my server I don't. I get NULL
. It works if I replace 'GMT'
and 'MET'
with '+00:00'
etc. 'UTC'
appears to be an unknown timezone. What is going on? in my my.cnf I have
'default_time_zone' = '+00:00'