procedure TForm1.Button1Click(Sender: TObject);
var
  D:TDateTime;
  s:string;
begin
  D:=VarToDateTime('05-10-14 04:35PM');
  S:=FormatDatetime('YYYY/MM/DD HH:MM:SS',D);
  showmessage(s);
end;

看到有人这样用VarToDateTime、存下来、强大的日期通杀

相关文章:

  • 2022-12-23
  • 2021-10-05
  • 2022-12-23
  • 2021-09-04
  • 2022-12-23
  • 2022-02-08
猜你喜欢
  • 2022-12-23
  • 2021-10-25
  • 2022-12-23
  • 2021-11-27
  • 2021-11-27
相关资源
相似解决方案