jmichae3 Posted July 13, 2012 Posted July 13, 2012 structures are not in the manual under data types.I couldn't find any examples that accessed structure members.please provide a usable example or at least give a how-to.the structure I am trying to access is $tagSYSTEMTIMEthe function that returns this structure is _Date_Time_GetLocalTime() which I am trying to get the information from. I especially need the MSeconds (actually, everything except DOW).thank you.
VixinG Posted July 13, 2012 Posted July 13, 2012 (edited) There's an example in the help file. #include <Date.au3> $tTime = _Date_Time_GetLocalTime() $aTime = _Date_Time_SystemTimeToArray($tTime) MsgBox(0,'Milliseconds',$aTime[6]) ;~ Array $aTime: ;~ [0] - Month ;~ [1] - Day ;~ [2] - Year ;~ [3] - Hour ;~ [4] - Minutes ;~ [5] - Seconds ;~ [6] - Milliseconds ;~ [7] - Day of week You can also use the @MSEC Edited July 13, 2012 by VixinG [indent=3][/indent]
Malkey Posted July 13, 2012 Posted July 13, 2012 (edited) The best example I found regarding the $tagSYSTEMTIME structure is in the __Date_Time_CloneSystemTime() function. This is found in the ..AutoIt3IncludeDate.au3 file on your hard drive. Edited July 13, 2012 by Malkey
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