System Time Milliseconds In Java Example
Chapter:
Run Time
Last Updated:
17-06-2016 12:00:00 UTC
Program:
/* ............... START ............... */
public class JavaSystemTimeExample {
public static void main(String[] args) {
System.out.print("Current Time in milliseconds = ");
System.out.println(System.currentTimeMillis());
}
}
/* ............... END ............... */
Output
Current Time in milliseconds = 1466164784770
Tags
System Time Milliseconds, Java, Runtime