Michael Job
fun getTimer(): String { val timeElapsed = LocalDateTime.ofInstant(Instant.ofEpochMilli(0), ZoneId.of("Europe/Paris")) val formatter = DateTimeFormatter.ofPattern("HH:mm:ss.SSS").withZone(ZoneId.of("Europe/Paris")) return timeElapsed.format(formatter) //returns 01:00:00.000 //why 1 hour ??? }
Baghaii
Chrimaeon
andylamax
A modern programming language that makes developers happier.