Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDateTimeTextBox Class / ModifyDateTime Method


In This Topic
    ModifyDateTime Method
    In This Topic
    Increases or decreases the specified unit of the given date/time and returns the result.
    Syntax
    'Declaration
     
    
    Protected Overridable Function ModifyDateTime( _
       ByVal date As System.Date, _
       ByVal unit As ENDateTimeUnit, _
       ByVal increase As System.Boolean _
    ) As System.Date
    'Usage
     
    
    Dim instance As NDateTimeTextBox
    Dim date As System.Date
    Dim unit As ENDateTimeUnit
    Dim increase As System.Boolean
    Dim value As System.Date
     
    value = instance.ModifyDateTime(date, unit, increase)
    protected virtual System.DateTime ModifyDateTime( 
       System.DateTime date,
       ENDateTimeUnit unit,
       System.bool increase
    )

    Parameters

    date
    unit
    increase
    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