MaartenDuits Posted November 30, 2009 Share Posted November 30, 2009 Hi, Is it possible to retrieve what the date format is the user of the scripts is using? I.E. my date format is dd-mm-yyyy (Netherlands) but somebody in the USA use mm-dd-yyyy. Hope somebody can help me. Kind regards, Maarten. Kind regards,Maarten Link to comment Share on other sites More sharing options...
Developers Jos Posted November 30, 2009 Developers Share Posted November 30, 2009 (edited) zoiets: Local $lngX = DllCall("kernel32.dll", "long", "GetLocaleInfo", "long", 0x400, "long", 0x1F, "str", "", "long", 255) If Not @error And $lngX[0] <> 0 Then Msgbox(0,"dateformat",$lngX[3]) Else Msgbox(0,"dateformat","problem retrieving") EndIf mvg Jos Edited November 30, 2009 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
MaartenDuits Posted November 30, 2009 Author Share Posted November 30, 2009 Jos, Exactly!! Thanks!! Kind regards,Maarten 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