今天朋友说要用到asp显示日期星期,N年前用过的asp也忘得差不多了。还好百度了一上,现记录下,以备查:
显示年月日:<%=replace(replace(date(),"-","年",1,1),"-","月",1,1)%>日
显示星期:<%=WeekdayName(Weekday(Date))%>