GetLocaleInfoΒΆ
GetLocaleInfo retrieves information about a locale (User Default Country Setting).
-
ssInfo = GetLocaleInfo(nInfo)
Return Value
ssInfo is a scalar string with the country setting value.
Parameters
-
nInfo
Identifies the locale information. It can be one of the values below. More values can be found in the VC++ header file WINNLS.H.
Value Meaning 0x000E decimal separator 0x0002 localized name of language 0x001D date separator 0x001E time separator 0x000C list item separator 0x001F short date format string 0x0020 long date format string 0x1003 time format string
Example
* GetLocaleInfo(0x001F)
d.M.yy.
* GetLocaleInfo(0x000E),
See also
id-616163