您现在的位置是:网站首页> 编程资料编程资料
VBS教程:函数-GetLocale 函数_vbs_
2023-05-25
321人已围观
简介 VBS教程:函数-GetLocale 函数_vbs_
GetLocale 函数
返回当前区域设置 ID 值。
GetLocale()
说明
locale 是用户参考信息集合,与用户的语言、国家和文化传统有关。locale 决定键盘布局、字母排序顺序和日期、时间、数字与货币格式。
返回值可以是任意一个 32-位 的值,如 区域设置 ID所示:
下面举例说明 GetLocale 函数的用法。要使用该代码,请复制标准HTML 文件中
Enter Date in UK format: Here's the US equivalent:
Enter a price in German:
Here's the UK equivalent:
