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);
精彩评论