The java.util.Date toString() method displays the date in the local time zone.
toString()
There are several common scenarios where we want the data to be printed in
If XStream is a dependency, try:
new com.thoughtworks.xstream.converters.basic.DateConverter().toString(date)