Tokyo time

Report a typo

The following program prints the current Tokyo time. Put the program lines into the correct order and fix the indentation if needed.

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"))
              
___

Create a free account to access the full topic