Skip to main content

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

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

I did a find on Country in this PDF .. www.inf.unideb.hu/.../Win_kernelref.pdf

nothing was returned


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.


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

Sorry I forgot your answer : nothing was returned


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

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.


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

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 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

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?