mardi 26 juillet 2016

how do i fetch date timestamp as UTC

I am storing date timestamps in DB as UTC value, while retrieving it back i need to make as UTC time and need to convert to specific timezone value.

i.e. 2015-05-01 00:09:30:00 UTC time need to convert to IST(Or other timezone)

resultSet.getDate("VisitDate")

please help on this.

Aucun commentaire:

Enregistrer un commentaire