I have a query in mysql which compares 2 dates like this
convert_tz(updatedDate,\'+05:30\',\'-05:00\') < ?
the convert function returns
Timezone information is not applied to dates/times unless you either set useTimeZone=true in your connection URL. You can use the getTimestamp() method also, which take calendars as an argument.