In This Topic
Determines whether the specified date time is valid.
Syntax
'Declaration
Public Function IsValid( _
ByVal As Date _
) As Boolean
'Usage
Dim instance As EraInfo
Dim dateTime As Date
Dim value As Boolean
value = instance.IsValid(dateTime)
public bool IsValid(
DateTime
)
Parameters
- dateTime
- The date time.
Return Value
true if the specified date time is valid; otherwise, false.
See Also