Mega Code Archive

 
Categories / MySQL / Command Mysql
 

Determine the computers time zone with SHOW_VARIABLES

mysql> mysql> SHOW VARIABLES LIKE 'system_time_zone'; +------------------+-----------------------+ | Variable_name    | Value                 | +------------------+-----------------------+ | system_time_zone | Pacific Daylight Time | +------------------+-----------------------+ 1 row in set (0.00 sec) mysql>