returns time in UTC rather than local time? What was the rationale behind this behaviour?
h
hfhbd
12/14/2024, 10:56 AM
Clock.now returns an Instant that is always in UTC. If you need a local time, you have to specify a time zone du to day light saving time and changing time zones.
c
corneil
01/21/2025, 2:24 PM
Instant is a representation of time in UTC.
In order to have the time in a representation of a specific timezone