ComponentOne MultiSelect for WinForms
C1.Win.Input.Validation Namespace / ParseInfo Class / ParseDateTime Method
The string to parse.
Format type used in parsing.
Culture used in parsing.

In This Topic
    ParseDateTime Method (ParseInfo)
    In This Topic
    Converts text to a value using one of DateTime formats.
    Syntax
    'Declaration
     
    
    Public Function ParseDateTime( _
       ByVal text As String, _
       ByVal formatType As FormatType, _
       ByVal culture As CultureInfo _
    ) As Date

    Parameters

    text
    The string to parse.
    formatType
    Format type used in parsing.
    culture
    Culture used in parsing.
    See Also