开发者

Coderush %?SysDate()% date format

开发者 https://www.devze.com 2023-03-13 14:31 出处:网络
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 functio

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

精彩评论

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

关注公众号