Converts a string produced by or
back to a time, represented as the
number of milliseconds since January 1, 1970, 00:00:00 GMT.
CopyC#
timeToString
CopyC#
DateToString
expected format
Namespace: Lucene.Net.DocumentsAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public static long StringToTime( string dateString ) |
Visual Basic |
---|
Public Shared Function StringToTime ( _ dateString As String _ ) As Long |
Visual C++ |
---|
public: static long long StringToTime( String^ dateString ) |
Parameters
- dateString
- Type: System..::..String
the date string to be converted