Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java get current milliseconds

package com.tutorialspoint;

import java.lang.*;

public class SystemDemo {

   public static void main(String[] args) {

      // returns the current time in milliseconds
      System.out.print("Current Time in milliseconds = ");
      System.out.println(System.currentTimeMillis());
   }
} 
Source by www.tutorialspoint.com #
 
PREVIOUS NEXT
Tagged: #java #current #milliseconds
ADD COMMENT
Topic
Name
7+5 =