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
Post a Comment