parseMillis

fun parseMillis(timestamp: String): Long?

Parses a givenOn timestamp to epoch millis, or null when the value is not recognized.

Accepts both second-precision and millisecond-precision UTC ISO-8601 forms.