Basic Date Picker Documentation

BasicDatePicker.ParseDate Method (String, String)

Parse string and return DateTime object as per supplied date format.

[Visual Basic]
Overloads Public Shared Function ParseDate( _
   ByVal valueString As String, _
   ByVal dateFormat As String _
) As Date
[C#]
public static DateTime ParseDate(
   string valueString,
   string dateFormat
);

Parameters

valueString
Date as string.
dateFormat
Date format.

Return Value

Returns a valid DateTime object.

See Also

BasicDatePicker Class | BasicFrame.WebControls Namespace | BasicDatePicker.ParseDate Overload List | DateFormat