I found how te do the GetLocalTime calling @DISPLAY kernel32.dll.
I need the country, is that possible and has someone the cobol coding for that solution?
#extend
#AcuCobol
Shjerpe, did a find on "country" with different readers, but there is no "country" in the pdf.
Sorry I forgot your answer : nothing was returned
Do you literally need the country, or would it be enough to know the time zone and/or locale? I wonder if browsing the list of time functions at MSDN would help you find a suitable function to call.
msdn.microsoft.com/.../ms725473(v=vs.85).aspx
For locale, I believe the functions are GetLocaleInfoEx and GetLocaleInfo, but my internet connection is too slow to google that just now.
The list of national language support functions (which includes functions dealing with locale and date/time formats) is here:
msdn.microsoft.com/.../dd319081(v=vs.85).aspx
I used your link and found on this link: msdn.microsoft.com/.../bb896001.aspx
** Abbreviated name of the language. This information can be retrieved by a call to the GetLocaleInfo() API with LCTYPE set to SABBREVLANGNAME .
Now my problem is how to translate to AcuCobol?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.