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

In This Topic
    ParseDateTime Method
    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 FormatTypeEnum, _
       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