Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql utc to toronto time

-- using named time zones
SELECT CONVERT_TZ('2018-01-01 12:00:00','UTC','MET');

-- using offset time zones
SELECT CONVERT_TZ('2018-01-01 12:00:00','+00:00','+10:00');
Source by popsql.com #
 
PREVIOUS NEXT
Tagged: #mysql #utc #toronto #time
ADD COMMENT
Topic
Name
3+6 =