please tell me how to convert milliseconds to joda Date time??
formatter = DateTimeFormat.forPattern("dd/MM/yyyy'T'HH:mm:ss").withZone(DateTimeZone.forOffsetHoursMinutes(00, 00));
even tried
String millisecond="14235453511"
DateTime.parse(millisecond);
The answer given by @Adam S is almost okay. However, I would prefer to specify the timezone explicitly. Without specifying it you get the constructed
DateTime
-instance in the system timezone. But you want the zone "0000" (UTC)? Then look for this alternative constructor: