FUNCTION: WeekdayName( )
function returns the full spelling of the name of the day of the week.
There is one mandatory argument.
argument is the number representing the day of the week as defined below by the value in the
Date And Time Constants
Week of January 1
First week of the year that has at least four days
First full week of the year
Use the date format of the computer's regional settings
Use the first full day of the week as defined by the system settings
<% =WeekdayName(7) %>
There are two optional arguments.
argument is a Boolean value which gives the option of having the returned day name being abbreviated to the first three characters.
If set to
, the name will be abbreviated. If set to
the name will not be abbreviated.
<% =WeekdayName(7, True) %>
argument must only use the constants or values defined above in the Date And Time Constants.
In this example, Monday is defined to be the first day of the week. Therefore, Saturday becomes 6.
<% =WeekdayName(6, False, 2) %>
<% =WeekdayName(6, False, VBMonday) %>
Copyright 1999-2004 by Infinite Software Solutions, Inc. All rights reserved.