Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / 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 System.Date _
    ) As System.Date
    public System.DateTime GetFirstWeekDay( 
       System.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