开发者

Delphi: convert TDate to other format

var MyDate:TDate; 
   MyDate:=Date;开发者_开发知识库

How can I convert local myDate to my format: 31/12/2011?

RecodeDate?

Thanks!!!


Check the FormatDateTime function in your case you try this

FormatDateTime('dd/mm/yyyy',MyDate);
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜