Answers for "mysql time zone"

SQL
0

check mysql timezone

#The query below returns the timezone of the current session.

select timediff(now(),convert_tz(now(),@@session.time_zone,'+00:00'));
Posted by: Guest on June-27-2021
2

mysql time

-- MySQL TIME Format: 'hh:mm:ss'
-- MySQL DATETIME Format: 'YYYY-MM-DD hh:mm:ss'
Posted by: Guest on June-07-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language