stringToTime

fun stringToTime(dateString: String): Long

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.

Return

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

Parameters

dateString

the date string to be converted

Throws

if dateString is not in the expected format