Converts a string produced by
CopyC#
timeToString
or
CopyC#
DateToString
back to a time, represented as a Date object.
expected format

Namespace: Lucene.Net.Documents
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public static DateTime StringToDate(
	string dateString
)
Visual Basic
Public Shared Function StringToDate ( _
	dateString As String _
) As DateTime
Visual C++
public:
static DateTime StringToDate(
	String^ dateString
)

Parameters

dateString
Type: System..::..String
the date string to be converted

Return Value

the parsed time as a Date object

See Also