Scheduler for WinForms | ComponentOne
C1.ScheduleCore Assembly / C1.Schedule Namespace / DayCollection Class / GetLastWeekDay Method
The System.DateTime value.

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

    Parameters

    day
    The System.DateTime value.

    Return Value

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