Converts a string-encoded date into a Date object.

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

Syntax

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

Parameters

s
Type: System..::..String

[Missing <param name="s"/> documentation for "M:Lucene.Net.Documents.DateField.StringToDate(System.String)"]

Return Value

[Missing <returns> documentation for "M:Lucene.Net.Documents.DateField.StringToDate(System.String)"]

See Also