My Study/Delphi
var Tdate : String; begin Tdate := FormatDateTime('yyyy-mm-dd, HH:MM:SS', Now); end;