Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
日付列があるテーブルがあります。この列のタイプはtimestampです。列のデータは、ISTタイムゾーンの時間を示しています。そのデータを別のタイムゾーンに変換したいと思います。何か提案はありますか?Mysqlデータベースを使用しています。
CONVERT_TZ (dt,from_tz,to_tz)
例:
SELECT CONVERT_TZ('2006-01-01 11:00:00','+00:00','+10:00');