Einzelnen Beitrag anzeigen

Newcomer91

Registriert seit: 9. Mär 2010
66 Beiträge
 
Delphi 2010 Professional
 
#12

AW: Bedingung: nächster Monat beginnt

  Alt 28. Dez 2010, 13:04
Problem gelöst, danke an alle

Delphi-Quellcode:
function CurrentMonthFileName(const DestDir: string): string;
const MY_EXTENSION = 'txt';
begin
  Result := Format('%s%s.%s',[IncludeTrailingPathDelimiter(DestDir),
                              FormatDateTime('yyyy-mm',Date),
                              MY_EXTENSION]);
end;
hats gebracht
  Mit Zitat antworten Zitat