@hfhbd This doesn't use kotlinx at all; it's not actually Kotlin question but a java.time one.
@Hexa
Copy code
import java.time.format.DateTimeFormatter
import java.time.Instant
import java.time.ZonedDateTime
fun main() {
val time = "2017-07-24 03:45:26 +0000 UTC"
val format = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss ZZZ VV")
val parsed = format.parse(time)
}
👍 3
h
hfhbd
06/18/2021, 6:13 PM
@hho Sorry, you are right. I was confused by the Slack server name, kotlinlang 😄