I am trying to convert millseconds to time in Java.
when I do this in C#
DateTime EpochOrigin = new DateTime(1970, 1, 1, 0, 0, 0, 0);
Console.WriteLine("1406205185123 = " + EpochOrigin.AddMilliseconds(1406205185123));
result 24/07/2014 12:33:05
when I do same in Java
Calendar cc = new GregorianCalendar();
cc.setTimeInMillis(1406205185123L);
result Thu Jul 24 13:33:05 BST 2014
The Java result add 1 more hour than C# .
Any suggestion how can I fix this?