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?
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.
For locale, I believe the functions are GetLocaleInfoEx and GetLocaleInfo, but my internet connection is too slow to google that just now.