ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Data.VBFunctionLib Assembly / GrapeCity.Enterprise.Data.VisualBasicReplacement Namespace / DateAndTime Class / WeekdayName Method
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.
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.
Optional. A value chosen from the FirstDayOfWeek enumeration that specifies the first day of the week. If not specified, FirstDayOfWeek.System is used.

In This Topic
    WeekdayName Method
    In This Topic
    Returns a String value containing the name of the specified weekday.
    Syntax
    '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.
    See Also