Nevron Open Vision Documentation
Nevron.Nov Namespace / NDateTimeHelpers Class / Max Method


In This Topic
    Max Method (NDateTimeHelpers)
    In This Topic
    Gets the larger date and time.
    Syntax
    'Declaration
     
    
    Public Shared Function Max( _
       ByVal dateTime1 As System.Date, _
       ByVal dateTime2 As System.Date _
    ) As System.Date
    'Usage
     
    
    Dim dateTime1 As System.Date
    Dim dateTime2 As System.Date
    Dim value As System.Date
     
    value = NDateTimeHelpers.Max(dateTime1, dateTime2)
    public static System.DateTime Max( 
       System.DateTime dateTime1,
       System.DateTime dateTime2
    )

    Parameters

    dateTime1
    dateTime2
    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