If you wanted to show the time in milliseconds since the particular time, go through the below given example that illustrate how to get the time in milliseconds. Please do not forget to import the java.util.calender package as it contains all the mechanism to show the time and date etc..
Java Syntax to get time in milliseconds
Output will be displayed as:
Posted on: October 15, 2008 If you enjoyed this post then why not add us on Google+? Add us to your Circles