Ankush Jangle1
Kilo Guru

Hi David,

Hi, It's bcoz your system timezone is ist. So while storing it is converting to ist. If you don't want that conversion then in our earlier code, Just change this line and uncomment the other lines.

Packages.java.util.TimeZone.getTimeZone("IST"); //sets to IST TO

Packages.java.util.TimeZone.getTimeZone("GMT"); //sets to GMT and check.

 

 

Please Mark it Correct/Helpful if it Help you