ASut Posted January 12, 2011 Share Posted January 12, 2011 Hi, Is it possible to add the time that have created in GUICtrlCreateDate ? $date + $timeA = 2011/01/01 00:00:01 $date + $timeA + $timeB = 2011/01/01 12:23:47 Or in the format "YYYYMMDDHHMMSS" #include <GUIConstantsEx.au3> #include <DateTimeConstants.au3> GUICreate("My GUI get date", 200, 200, 800, 200) $date = GUICtrlCreateDate("2010/01/01", 10, 10, 185, 20) $timeA = GUICtrlCreateDate("00:00:01", 30, 40, 100, 20, $DTS_TIMEFORMAT) $timeB = GUICtrlCreateDate("12:23:46", 30, 80, 100, 20, $DTS_TIMEFORMAT) GUISetState() Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE Link to comment Share on other sites More sharing options...
somdcomputerguy Posted January 12, 2011 Share Posted January 12, 2011 See the _DateAdd function in the Helpfile. - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. 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