Jump to content

Recommended Posts

Posted

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

  • Developers
Posted (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 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.
  :)

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...