Viết Thứ Ngày Tháng Năm Theo Định Dạng DD/MM/YY

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>")

%>


This entry was posted on 01:53 and is filed under .Follow any comments here with the RSS 2.0 . You can leave a response so that we can know your suggestion.
0 Responses to "Viết Thứ Ngày Tháng Năm Theo Định Dạng DD/MM/YY"

Đăng nhận xét