Java afficher l'horaire
Résolu
faridabdou
Messages postés
13
Statut
Membre
-
Utilisateur anonyme -
Utilisateur anonyme -
Bonjour,
comment je peux afficher l'horaire :
System.out.println(!!!!!!!);
merci
comment je peux afficher l'horaire :
System.out.println(!!!!!!!);
merci
Configuration: Windows XP Internet Explorer 7.0
2 réponses
-
Bonjour,
Un peu de recherche sur google ne fais de mal à personne tu sais :
https://www.google.fr/search?q=java+afficher+heure&gws_rd=ssl
-
Date maDateAvecFormat=new Date(); SimpleDateFormat dateStandard = new SimpleDateFormat("dd/MM/yyyy"); //Change le format suivant tes besoins System.out.println("Format date dd/MM/yyyy :"+dateStandard.format(maDateAvecFormat));