'Declaration Public Shared Function WeekdayName( _ ByVal weekday As Integer, _ Optional ByVal abbreviate As Boolean, _ Optional ByVal firstDayOfWeekValue As FirstDayOfWeek _ ) As String
public static string WeekdayName( int weekday, bool abbreviate, FirstDayOfWeek firstDayOfWeekValue )
Parameters
- weekday
- Required. Integer. The numeric designation for the weekday, from 1 through 7; 1 indicates the first day of the week and 7 indicates the last day of the week. The identities of the first and last days depend on the setting of firstDayOfWeekValue.
- abbreviate
- Optional. Boolean value that indicates if the weekday name is to be abbreviated. If omitted, the default is False, which means the weekday name is not abbreviated.
- firstDayOfWeekValue
- Optional. A value chosen from the FirstDayOfWeek enumeration that specifies the first day of the week. If not specified, FirstDayOfWeek.System is used.
Return Value
Returns a String value containing the name of the specified weekday.