Java System currentTimeMillis() MethodThe currentTimeMillis() method of System class returns current time in format of millisecond. Millisecond will be returned as unit of time. SyntaxReturnsReturns difference, measured in milliseconds, between current time and midnight January 1, 1970 UTC(coordinated universal time). ExampleOutput: Current time in millisecond 1532262046724 Next TopicJava-system-exit-method |
We provides tutorials and interview questions of all technology like java tutorial, android, java frameworks
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India