adTempus API
ArcanaDevelopment.adTempus.Shared Namespace / DateTimeHandling Class / CompareTime Method


In This Topic
    CompareTime Method
    In This Topic
    Compares only the time portion of two DateTime values (hour and minute only; milliseconds are ignored).
    Syntax
    'Declaration
     
    
    Public Shared Function CompareTime( _
       ByVal value1 As Date, _
       ByVal value2 As Date _
    ) As Integer
    public static int CompareTime( 
       DateTime value1,
       DateTime value2
    )
    public:
    static int CompareTime( 
       DateTime value1,
       DateTime value2
    ) 

    Parameters

    value1
    value2
    See Also