I have a db in mysql in which one column is of timstamp
datatype.
It stores timstamp in this format yyyy-mm-dd hh-mm-ss
on both windows and linux.
But when i am fetching data from mysql from my java code, it brings data in this format May 11, 2018, 11:35:34 AM
on my windows and in this format May 11, 2018 11:35:34 AM
on linux ubuntu
.
How make timestamp format consistent?