ASP顯示當前日期和星期的超簡單代碼
今天是:<% SetLocale("zh-cn")
Response.Write FormatDateTime(Date, 1)
%> <% SetLocale("zh-cn")
response.write weekdayname(weekday(Date))%>
Response.Write FormatDateTime(Date, 1) 顯示當前系統(服務器)日期
Response.write weekdayname(weekday(Date)) 顯法當前系統(服務器)星期數
今天是:<% SetLocale("zh-cn")
Response.Write FormatDateTime(Date, 1)
%> <% SetLocale("zh-cn")
response.write weekdayname(weekday(Date))%>
Response.Write FormatDateTime(Date, 1) 顯示當前系統(服務器)日期
Response.write weekdayname(weekday(Date)) 顯法當前系統(服務器)星期數