Durga Dutt
Durga Dutt

Reputation: 4113

Changing mysql time

I have a table , in which there is a date column. This column is of type timestamp. Data in column is showing time in IST time zone . I want to convert it's data into another timezone. Do you have any suggestions for it. I am using Mysql database.

Upvotes: 0

Views: 226

Answers (1)

Saxxi
Saxxi

Reputation: 26

CONVERT_TZ (dt,from_tz,to_tz)

Example:

SELECT CONVERT_TZ('2006-01-01 11:00:00','+00:00','+10:00');

Upvotes: 1

Related Questions