Is there a way in MySQL to calculate the offset for any timezone? For example, to get the local time in the timezone Asia/calcutta. What I want to do is calcula
Asia/calcutta
SET time_zone = '-07:00';
You can just pass in an offset
http://dev.mysql.com/doc/refman/5.1/en/time-zone-support.html