Jump to content

date courant dans une notification


soufiane.dev

Recommended Posts

Salut,

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

a+

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...