Jump to content

date courant dans une notification

Recommended Posts


Voila comment récuperer la date apres pour l'afficher regarde sur le net tu as plein de methodes.

private Calendar c = Calendar.getInstance();
month = c.get(Calendar.MONTH); // Mois de 0 a 11
monthday = c.get(Calendar.DAY_OF_MONTH); // jour du mois
day = c.get(Calendar.DAY_OF_WEEK); // jour de la semaine
year = c.get(Calendar.YEAR); // annee


Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...