See existing conversion + comment: https://github.com/zio/zio/blob/series/2.x/core/shared/src/main/scala/zio/Clock.scala#L189-L201 Since we now have a dependency on scala-java-time for Native+JS, I believe we can use ChronoUnit https://github.com/cquiroz/scala-java-time