On this page:
UTC
posix->moment/  utc
jd->moment
jd->moment/  utc

5 Gregor🔗

 (require toolbox/gregor) package: toolbox-lib

value

UTC : tz/c = "Etc/UTC"

This binding is actually provided by gregor itself, but it is not documented. The toolbox/gregor module simply reprovides it.

procedure

(posix->moment/utc v)  moment?

  v : rational?
Equivalent to (posix->moment v UTC).

procedure

(jd->moment v [tz])  moment?

  v : rational?
  tz : tz/c = (current-timezone)
Equivalent to (adjust-timezone (jd->moment/utc v) tz).

procedure

(jd->moment/utc v)  moment?

  v : rational?
Equivalent to (with-timezone (jd->datetime v) UTC).