Scheduler for WPF | ComponentOne
C1.Schedule Namespace / DayCollection Class / GetFirstWeekDay Method
The System.DateTime value.

In This Topic
    GetFirstWeekDay Method (DayCollection)
    In This Topic
    Returns the first day of week, containing specified date.
    Syntax
    'Declaration
     
    
    Public Function GetFirstWeekDay( _
       ByVal day As Date _
    ) As Date
    public DateTime GetFirstWeekDay( 
       DateTime day
    )

    Parameters

    day
    The System.DateTime value.

    Return Value

    The System.DateTime value of the week start day.
    Remarks
    If the specified date hasn't been added to this collection yet, this method call will add it.
    See Also