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