DaLiMan Posted December 28, 2004 Share Posted December 28, 2004 Hi, When you look at the output from the GuiCtrlCreateDate it is displayed as: 1. december 2004 What I like it to be is: 01-12-2004 Is there a setting to easily convert it, or some other simple way? Please help!!! Link to comment Share on other sites More sharing options...
Josbe Posted December 28, 2004 Share Posted December 28, 2004 Short date: $DTS_SHORTDATEFORMAT = 0x00 GUICtrlCreateDate ("2004/12/01", 10, 10, 185, 20, $DTS_SHORTDATEFORMAT) AUTOIT > AutoIt docs / Beta folder - AutoIt latest beta Link to comment Share on other sites More sharing options...
DaLiMan Posted December 29, 2004 Author Share Posted December 29, 2004 Short date:$DTS_SHORTDATEFORMAT = 0x00 GUICtrlCreateDate ("2004/12/01", 10, 10, 185, 20, $DTS_SHORTDATEFORMAT)<{POST_SNAPBACK}>Thanx Josbe, works like a charm. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now