I have a java.sql.Timestamp
variable in local timezone with following formatting
2011-07-21 00:40:37
I need to convert it to UTC
I asked this question to see if it can be done by mysql, but received no answers.
I guess I have to somehow do it in java code before substituting it in the query