Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NCalendarPicker Class / GetDate Method


In This Topic
    GetDate Method
    In This Topic
    Adds the specified number of years, months and days to the given date and returns the result if it is a valid date or null otherwise.
    Syntax
    'Declaration
     
    
    Protected Function GetDate( _
       ByVal date As System.Date, _
       ByVal addYears As System.Integer, _
       ByVal addMonths As System.Integer, _
       ByVal addDays As System.Integer _
    ) As System.Object
    'Usage
     
    
    Dim instance As NCalendarPicker
    Dim date As System.Date
    Dim addYears As System.Integer
    Dim addMonths As System.Integer
    Dim addDays As System.Integer
    Dim value As System.Object
     
    value = instance.GetDate(date, addYears, addMonths, addDays)
    protected System.object GetDate( 
       System.DateTime date,
       System.int addYears,
       System.int addMonths,
       System.int addDays
    )

    Parameters

    date
    addYears
    addMonths
    addDays
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also