/home/web-programming/asp/

ASP WeekdayName Functions

The ASP WeekdayName() function is used to return the name of a particular weekday.

ASP Coding for WeekdayName Function

<%

Response.Write weekdayName(weekday(Date()))

%>


OR

<%

=weekdayName(weekday(Date()))

%>


Result

Monday

WeekdayName Function Results
weekdayName(weekday(Date())) Monday
weekdayName(weekday(Now())) Monday
weekdayName(weekday(#06/06/2010#)) Sunday
weekdayName(1) Sunday
weekdayName(2) Monday
weekdayName(3) Tuesday
weekdayName(4) Wednesday
weekdayName(5) Thursday
weekdayName(6) Friday
weekdayName(7) Saturday