Obtenir la date du system en utilisant la classe ‘System’

Author:

Obtenir,la,date,du,system,en,utilisant,la,classe,'System'
{filelink=6316}


public class TempsSystem
{

  public static void main(String[] args)
  {
    long tempsSystem = System.currentTimeMillis();
    System.out.println("Millisecondes depuis 1970: " + tempsSystem);
  }
}

Leave a Reply

Your email address will not be published. Required fields are marked *