[轉(zhuǎn)]ASP常用函數(shù):TimeZone
更新時間:2007年02月07日 00:00:00 作者:
功能:獲取服務(wù)器所在時區(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)文章
講解ASP方面的知識比較全的asp學(xué)習(xí)教程
講解ASP方面的知識比較全的asp學(xué)習(xí)教程...2007-03-03asp下如何在Access數(shù)據(jù)庫中立即得到所插入記錄的自動編號?
asp下如何在Access數(shù)據(jù)庫中立即得到所插入記錄的自動編號?...2007-04-04javascript asp教程第二課--轉(zhuǎn)義字符
javascript asp教程第二課--轉(zhuǎn)義字符...2007-03-03