Calendar for WinForms | ComponentOne
C1.Globalization Namespace / EraInfo Class / IsValid Method
The date time.

In This Topic
    IsValid Method (EraInfo)
    In This Topic
    Determines whether the specified date time is valid.
    Syntax
    'Declaration
     
    
    Public Function IsValid( _
       ByVal dateTime As Date _
    ) As Boolean
    public bool IsValid( 
       DateTime dateTime
    )

    Parameters

    dateTime
    The date time.

    Return Value

    true if the specified date time is valid; otherwise, false.
    See Also