Hi, sorry for the extremely basic question and bad english.
I need starting from a ZoneDateTime to print a date with the zone’s timezone applied, for example:
You find solutions for Java, because ZonedDateTime is a part of Java stdlib, not Kotlin. And solutions for Java should work correctly for Kotlin as well.
You simply need to specify the timezone:
ZonedDateTime.now(ZoneId.of("Europe/Rome"))
If we don’t specify the timezone explicitly, it uses OS system settings. If you get UTC time, then it seems your OS is set to use UTC or JVM somehow doesn’t pick up OS settings correctly.