Exemple du programme java
GregorianCalendar laDate = new GregorianCalendar();
public String getDate() {
return " " + laDate.get(Calendar.DAY_OF_MONTH)
+ " / " + (laDate.get(Calendar.MONTH)+1)
+ " / " + laDate.get(Calendar.YEAR);
public String getMessage() {
return "bonjour voici la date d'aujourd'hui : ";
return laDate.get(Calendar.DAY_OF_WEEK);