[轉(zhuǎn)]ASP常用函數(shù):TimeZone
更新時(shí)間:2007年02月07日 00:00:00 作者:
功能:獲取服務(wù)器所在時(shí)區(qū)
<%
Function TimeZone()
Set oShell = CreateObject("WScript.Shell")
atb = "HKEY_LOCAL_MACHINE\System\CurrentControlSet\" & _
"Control\TimeZoneInformation\ActiveTimeBias"
TimeZone = - oShell.RegRead(atb) / 60
End Function
%>
復(fù)制代碼 代碼如下:
<%
Function TimeZone()
Set oShell = CreateObject("WScript.Shell")
atb = "HKEY_LOCAL_MACHINE\System\CurrentControlSet\" & _
"Control\TimeZoneInformation\ActiveTimeBias"
TimeZone = - oShell.RegRead(atb) / 60
End Function
%>
相關(guān)文章
用Command對(duì)象和RecordSet對(duì)象向數(shù)據(jù)庫增加記錄哪一個(gè)更好
用Command對(duì)象和RecordSet對(duì)象向數(shù)據(jù)庫增加記錄哪一個(gè)更好...2006-06-06
Eval 函數(shù) | Execute 語句 | ExecuteGlobal 語句使用說明
在運(yùn)行時(shí)添加過程和類是非常有用的,但是也可能導(dǎo)致在運(yùn)行時(shí)覆蓋已有的全局 變量 和函數(shù)。因?yàn)檫@可能導(dǎo)致非常嚴(yán)重的程序問題,因此,當(dāng)使用 ExecuteGlobal 語句時(shí)一定得非常謹(jǐn)慎。2007-02-02
javascript asp教程第三課 new String() 構(gòu)造器
javascript asp教程第三課 new String() 構(gòu)造器...2007-03-03
javascript asp教程第八課--request對(duì)象
javascript asp教程第八課--request對(duì)象...2007-03-03
講解ASP方面的知識(shí)比較全的asp學(xué)習(xí)教程
講解ASP方面的知識(shí)比較全的asp學(xué)習(xí)教程...2007-03-03
javascript asp教程創(chuàng)建數(shù)據(jù)庫連接
javascript asp教程創(chuàng)建數(shù)據(jù)庫連接...2007-03-03
ASP中的時(shí)間函數(shù)大全 時(shí)間操作函數(shù)
ASP中的時(shí)間函數(shù)大全 時(shí)間操作函數(shù)...2006-09-09

