<Convert ZoneDateTime to String> Hi, sorry for the...
# forum
r
Convert ZoneDateTime to String 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: ZonedDateTime.now().format(DateTimeFormatter.ofPattern(“yyyy-MM-dd’T’HHmmss”)) Print for me: 2023-03-12T140027 But i live in Italy (GMT+1) and i want to print 2023-03-12T150027 I googled the solution but evidently I’m wrong with the terms since I only find things that I don’t need or for Java. Thanks in advance to anyone who can...