🐈

MySQLでのtimezone確認

2021/06/26に公開
> show variables like '%time_zone%';
+------------------+--------+
| Variable_name    | Value  |
+------------------+--------+
| system_time_zone | JST    |
| time_zone        | SYSTEM |
+------------------+--------+

> select NOW();
+---------------------+
| NOW()               |
+---------------------+
| 2018-11-16 10:45:53 |
+---------------------+

Discussion