Convert Milliseconds to Date in Java

Date Time

Calendar and Date class instance methods are used to convert millis to Date.

This example shows how to convert Milliseconds to Date in Java.

Converting Milliseconds to Date in Java – Millis to Date Example


current Date: Wed Feb 29 01:58:46 VET 2012
Milliseconds to Date: 29:02:12:01:58:46
Milliseconds to Date using Calendar:29:02:12:01:58:46
original Date: 29:02:12:01:58:46
copied Date: 29:02:12:01:58:46
Share This Post On: