Sau đây là cách viết Thứ Ngày Tháng theo đinh dạng DD/MM/YY
<% Dim strThu
strThu = WeekDayName(WeekDay(Date))
If strThu = "Sunday" Then
Response.Write("<b>Chủ Nhật, </b>")
End If
If strThu = "Monday" Then
Response.Write("<b>Thứ Hai, </b>")
End If
If strThu = "Tuesday" Then
Response.Write("<b>Thứ Ba, </b>")
End If
If strThu = "Wednesday" Then
Response.Write("<b>Thứ Tư, </b>")
End If
If strThu = "Thursday" Then
Response.Write("<b>Thứ Năm, </b>")
End If
If strThu = "Friday" Then
Response.Write("<b>Thứ Sáu, </b>")
End If
If strThu = "Saturday" Then
Response.Write("<b>Thứ bảy, </b>")
End If
Response.Write(" <b>Ngày " & day(date()) &" Tháng "& month(date()) &", Năm "& year(date()) &" </b>")
%>
Đăng nhận xét