cs_cantador
Messages postés
4720
Date d'inscription
dimanche 26 février 2006
Statut
Modérateur
Dernière intervention
31 juillet 2021
13
5 nov. 2008 à 13:45
Oui...
essaie comme ça :
const
Mois: array[1..12] of string = ('janvier', 'février', 'mars', 'avril',
'mai', 'juin', 'juillet', 'août', 'septembre', 'octobre', 'novembre', 'décembre');
procedure TForm1.Button1Click(Sender: TObject);
begin
ShowMessage(Mois[MonthOf(MonthCalendar1.Date)]);
ShowMessage(FloatToStr(YearOf(MonthCalendar1.Date)));
end;
cantador