Method StringToTime
StringToTime(String)
Converts a string produced by TimeToString(Int64, DateTools.Resolution) or DateToString(DateTime, DateTools.Resolution) back to a time, represented as the number of milliseconds since January 1, 1970, 00:00:00 GMT (also known as the "epoch").
Declaration
public static long StringToTime(string dateString)
Parameters
Type | Name | Description |
---|---|---|
System.String | dateString | the date string to be converted |
Returns
Type | Description |
---|---|
System.Int64 | the number of milliseconds since January 1, 1970, 00:00:00 GMT (also known as the "epoch") |