The following program prints the current Tokyo time. Put the program lines into the correct order and fix the indentation if needed.
Local date and time
Tokyo time
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
import kotlinx.datetime.*
fun main() {
val instant = Clock.System.now()
}
println(local)
val local = instant.toLocalDateTime(TimeZone.of("Asia/Tokyo"))
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.