t = GetLocaleInfo()
GetLocaleInfo() will then return a table with the following
fields initialized:
DecimalPoint:
ThousandSeparator:
Currency:
DateFormat:
ShortDateFormat:
TimeFormat:
DateTimeFormat:
Days:
AbDays:
Months:
AbMonths:
Language:
d$ = FormatDate(GetLocaleInfo().DateTimeFormat, GetDate(#DATELOCAL)) DebugPrint(d$)The code above prints the date and time formatted according to the rules of the current locale.