calendar
calendar is a Standard Capability: a Script calls its Operations through a Grant the Host gives it, with ask for an answer or tell for none, and a suspending one with and wait. A call the Grants don’t allow fails to load. The full rules: chapter 7. Arguments are checked against the Operation’s Shapes, and a mismatch raises wrong kind; the entries below list the other errors.
today [zone], immediate
The date-only Civil Date in the zone at the Pump’s Clock reading.
Errors: unknown zone.
now [zone], immediate
The date-time in the zone at the Pump’s Clock reading.
Errors: unknown zone.
toCivil
Section titled “toCivil”toCivil i [, zone], immediate
The date-time in the zone at the Instant i.
Errors: unknown zone.
toInstant
Section titled “toInstant”toInstant c [, disambiguation] [, zone], immediate
The Instant at which the zone’s wall clock reads the date-time c.
Errors: unknown zone, ambiguous time.
offset
Section titled “offset”offset i [, zone], immediate
The zone’s offset from UTC at the Instant i, as an exact duration.
Errors: unknown zone.
zone [zone], immediate
The IANA id of the zone in use.
Errors: unknown zone.