婷婷综合国产,91蜜桃婷婷狠狠久久综合9色 ,九九九九九精品,国产综合av

主頁 > 知識庫 > VBS教程:函數(shù)-GetLocale 函數(shù)

VBS教程:函數(shù)-GetLocale 函數(shù)

熱門標簽:福建醫(yī)療智能外呼系統(tǒng)哪家好 琿春電子地圖標注 菏澤電銷機器人管理軟件 聯(lián)通能辦理400電話是多少錢 鴿森地圖標注 福建外呼系統(tǒng)購買 龍族幻想白銀異聞天使地圖標注 百度地圖標注的位置怎么更改 地圖標注都什么意思

GetLocale 函數(shù)

返回當前區(qū)域設(shè)置 ID 值。

GetLocale()

說明

locale 是用戶參考信息集合,與用戶的語言、國家和文化傳統(tǒng)有關(guān)。locale 決定鍵盤布局、字母排序順序和日期、時間、數(shù)字與貨幣格式。

返回值可以是任意一個 32-位 的值,如 區(qū)域設(shè)置 ID所示:

下面舉例說明 GetLocale 函數(shù)的用法。要使用該代碼,請復(fù)制標準HTML 文件中 BODYgtl 標志之間的所有內(nèi)容。

Enter Date in UK format: input type="text" id="UKDate" size="20">p>Here's the US equivalent: input type="text" id="USdate" size="20">p>input type="button" value="Convert" id="button1">p>Enter a price in German: nbsp; input type="text" id="GermanNumber" size="20">p>Here's the UK equivalent: input type="text" id="USNumber" size="20">p>input type="button" value="Convert" id="button2">p>script language="vbscript">Dim currentLocale' Get the current localecurrentLocale = GetLocaleSub Button1_onclick  Dim original  original = SetLocale("en-gb")  mydate = CDate(UKDate.value)  ' IE always sets the locale to US English so use the  ' currentLocale variable to set the locale to US English  original = SetLocale(currentLocale)  USDate.value = FormatDateTime(mydate,vbShortDate)End SubSub button2_onclick  Dim original  original = SetLocale("de")  myvalue = CCur(GermanNumber.value)  original = SetLocale("en-gb")  USNumber.value = FormatCurrency(myvalue)End Sub/script> 

標簽:鶴壁 丹東 張掖 達州 內(nèi)蒙古 南京 資質(zhì)掛靠 柳州

巨人網(wǎng)絡(luò)通訊聲明:本文標題《VBS教程:函數(shù)-GetLocale 函數(shù)》,本文關(guān)鍵詞  VBS,教程,函數(shù),-GetLocale,VBS,;如發(fā)現(xiàn)本文內(nèi)容存在版權(quán)問題,煩請?zhí)峁┫嚓P(guān)信息告之我們,我們將及時溝通與處理。本站內(nèi)容系統(tǒng)采集于網(wǎng)絡(luò),涉及言論、版權(quán)與本站無關(guān)。
  • 相關(guān)文章
  • 下面列出與本文章《VBS教程:函數(shù)-GetLocale 函數(shù)》相關(guān)的同類信息!
  • 本頁收集關(guān)于VBS教程:函數(shù)-GetLocale 函數(shù)的相關(guān)信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 金秀| 犍为县| 百色市| 广汉市| 易门县| 于都县| 大渡口区| 富民县| 中山市| 喀什市| 朝阳县| 靖安县| 江西省| 湖北省| 寿宁县| 周至县| 阿坝| 濮阳县| 花莲市| 井冈山市| 横峰县| 堆龙德庆县| 砀山县| 乃东县| 磴口县| 徐州市| 淳安县| 东平县| 老河口市| 盐亭县| 玛曲县| 射洪县| 南康市| 汽车| 承德市| 辉县市| 榆林市| 铁力市| 类乌齐县| 朝阳市| 招远市|