开发者

Coderush %?SysDate()% date format

Can the date format returned by CodeRush sysDate() be changed. It returns mm/dd/yy where as I want dd/mm/yy开发者_Python百科yy. Using CodeRush for Delphi.


This function uses Delphi's DateToStr function, which relies upon the text in the ShortDateFormat variable. (See http://www.delphibasics.co.uk/RTL.asp?Name=ShortDateFormat). You could write a CodeRush plug-in and change this variable, or your could change your locale settings for your machine and change the format that way. Hope this helps.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜