Calendar

Date and Time Functions

FunctionDescription
cal.zdtCreate zoned date time from datetime components and timezone string (e.g. '+0100')
cal.datetime(b)Convert block of time fields to zoned datetime (defaults: y=1, m=1, d=1, H=0, M=0, S=0, Z=UTC)
cal.parseParse an ISO8601 formatted date string into a zoned date time
cal.formatFormat a zoned date time as ISO8601
cal.fieldsDecompose a zoned date time into a block of its component fields (y,m,d,H,M,S,Z)