Hello,

Why does DateTools.dateToString() return a String representation of my Date,
but in a different TimeZone. Does it use its own Calendar/TimeZone settings?

F.I.

DateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss.SSS");
System.out.println(DateTools.dateToString(format.parse("2006-04-26 07:29:
52.581"),DateTools.Resolution.MINUTE));

will print out

200604261129

Why the 4 hour difference?

Thanks!

--Bill

Reply via email to