Converts a Date to a string suitable for indexing.
method argument is before 1970

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

Syntax

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

Parameters

date
Type: System..::..DateTime

[Missing <param name="date"/> documentation for "M:Lucene.Net.Documents.DateField.DateToString(System.DateTime)"]

Return Value

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

See Also