Mega Code Archive

 
Categories / Delphi / System
 

Format date and time using the format given by a format

procedure TForm1.Button1Click(Sender: TObject); begin label1.Caption := FormatDateTime('d. mmmm yyyy hh:mm:ss', Now); end;