The ASP Weekday() function is used to return the numerical expression of day of the week from 1 (Sunday) to 7 (Saturday).
7
Weekday Function | Results |
weekday(Date()) | 7 |
weekday(Now()) | 7 |
weekday(#06/06/2010#) | 1 |
weekday(#06/07/2010#) | 2 |
weekday(#06/08/2010#) | 3 |
weekday(#06/09/2010#) | 4 |
weekday(#06/10/2010#) | 5 |
weekday(#06/11/2010#) | 6 |
weekday(#06/12/2010#) | 7 |