獲得天的名字

代碼:

<!DOCTYPE html>

<html>

<body>

 

<p>

VBScripts' function <b>WeekdayName</b> is used to get a weekday:

</p>

<%

response.Write(WeekDayName(1))

response.Write("<br>")

response.Write(WeekDayName(2))

%>

 

<p>Abbreviated name of a weekday:</p>

<%

response.Write(WeekDayName(1,true))

response.Write("<br>")

response.Write(WeekDayName(2,true))

%>

 

<p>Current weekday:</p>

<%

response.Write(WeekdayName(weekday(date)))

response.Write("<br>")

response.Write(WeekdayName(weekday(date), true))

%>

 

</body>

</html>

結(jié)果:

VBScripts' function WeekdayName is used to get a weekday:

Sunday
Monday

Abbreviated name of a weekday:

Sun
Mon

Current weekday:

Wednesday
Wed

相關(guān)文章
ASP基礎(chǔ)
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频