java - Date returned by resultset.getString was wrong at some time -


i using mysql database.here have datetime field in table , in java code value using resultset.getstring method.it works fine returns wrong date or previous date.

here java code:

resultset.getstring("date_of_schedule") 

it returns '2015-09-21' correctly return '2015-09-20' date.can explain me doing wrong.


Comments

Popular posts from this blog

xml - Extract substrings with XSLT -

math - "ELO Rating" and how does "TSR Rating" work? -

How can do a tuple comparison in coffeescript similar to that in python? -