NevronOpenVision
Nevron.Nov.UI Namespace / NDateTimeTextBox Class / SetDateTime Method
In This Topic
    SetDateTime Method
    In This Topic
    Sets the specified unit of the given date/time to the given amount and returns the result. Note that no validation is performed and this methods throws and exception if an invalid date is constructed.
    Syntax
    protected virtual System.DateTime SetDateTime( 
       System.DateTime date,
       ENDateTimeUnit unit,
       System.int value
    )

    Parameters

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