Parses a string containing a date/time value.

Namespace: vCards
Assembly: ICalVCard (in ICalVCard.dll) Version: 1.0.0.0 (1.0.0.0)

Collapse imageSyntax

C#
public static Nullable<DateTime> ParseDate(
	string value
)
Visual Basic
Public Shared Function ParseDate ( _
	value As String _
) As Nullable(Of DateTime)
Visual C++
public:
static Nullable<DateTime> ParseDate(
	String^ value
)

Parameters

value
Type: System..::..String
A string containing a date/time value.

Return Value

The parsed date, or null if no date could be parsed.

Collapse imageRemarks

Some revision dates, such as those generated by Outlook, are not directly supported by the .NET DateTime parser. This function attempts to accomodate the non-standard formats.

Collapse imageSee Also