Apache Lucene.Net 2.4.0 Class Library API

DateTools.StringToTime Method 

Converts a string produced by

timeToString
or
dateToString
back to a time, represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT.

public static long StringToTime(
   string dateString
);

Parameters

dateString
the date string to be converted

Return Value

the number of milliseconds since January 1, 1970, 00:00:00 GMT

See Also

DateTools Class | Lucene.Net.Documents Namespace