date
Gregorian date as an exact epoch-day number.
year(number) -- yearmonth(number) -- monthday(number) -- day
Gregorian date as an exact epoch-day number.
year (number) -- yearmonth (number) -- monthday (number) -- dayFormat an epoch day as ISO 8601.
day (number) -- dayGregorian year, month and day fields.
day (number) -- dayWhether a Gregorian year is leap.
year (number) -- yearDays in a Gregorian month; invalid months return zero.
year (number) -- yearmonth (number) -- monthWeekday name of an epoch day.
day (number) -- dayOne-based day of year.
date (value) -- dateGregorian date from a one-based ordinal day.
year (number) -- yearordinal (number) -- ordinalISO week year, week and weekday.
date (value) -- dateAdd calendar months, clamping the day to the target month.
date (value) -- datemonths (number) -- monthsAdd calendar years, clamping the day.
date (value) -- dateyears (number) -- yearsCalendar period with years, months and days.
start (value) -- startend (value) -- endConstruct a Julian calendar date record.
year (number) -- yearmonth (number) -- monthday (number) -- dayJulian date to epoch day.
date (value) -- dateEpoch day to Julian calendar fields.
day (number) -- dayJulian leap-year rule.
year (number) -- yearDays in a Julian month.
year (number) -- yearmonth (number) -- monthConstruct an Indian national calendar date record.
year (number) -- yearmonth (number) -- monthday (number) -- daySaka date to epoch day.
date (value) -- dateEpoch day to Saka calendar fields.
day (number) -- dayName of a Saka month.
date (value) -- dateWhether the Saka year is leap.
year (number) -- yearDays in a Saka month.
year (number) -- yearmonth (number) -- monthConstruct exact civil time; seconds may be rational.
date (value) -- datehour (number) -- hourminute (number) -- minutesecond (number) -- secondExact epoch days including time of day.
time (value) -- timeExact epoch days to civil time.
days (number) -- daysCalendar fields, hour, minute and exact seconds.
time (value) -- timeAdd exact civil seconds.
time (value) -- timeseconds (number) -- secondsFixed UTC offset; minutes inherit the sign of hours.
hours (number) -- hoursminutes (number) -- minutesFixed UTC offset from signed seconds.
seconds (number) -- secondsOffset as an exact fraction of a day.
offset (value) -- offsetLocal civil time to UTC at a fixed offset.
time (value) -- timeoffset (value) -- offsetUTC civil time to local time at a fixed offset.
time (value) -- timeoffset (value) -- offsetParse ISO text into datetime, offset and has_time fields; offset is not applied.
text (text) -- textFormat civil time without an offset, retaining exact fractional seconds.
time (value) -- timeoffset (value) -- optional fixed UTC offset; none omits itfractionDigits (number) -- optional fractional precision; none uses exact terminating decimalsConstruct UTC including valid leap seconds.
date (value) -- datehour (number) -- hourminute (number) -- minutesecond (number) -- secondCivil time to UTC fields.
time (value) -- timeUTC to civil time; leap seconds cannot be represented.
utc (value) -- utcExact TAI minus UTC seconds with a known flag from the bundled table.
utc (value) -- utcUTC to TAI instant with table coverage flag.
utc (value) -- utcTAI instant to UTC with table coverage flag.
instant (value) -- instantTAI instant to TT.
instant (value) -- instantTT instant to TAI.
instant (value) -- instantTAI instant to GPS time.
instant (value) -- instantGPS time to TAI.
instant (value) -- instantAdd exact SI seconds to a uniform time coordinate.
instant (value) -- instantseconds (number) -- secondsCivil time to exact Unix seconds; leap seconds are excluded.
time (value) -- timeExact Unix seconds to civil time.
seconds (number) -- secondsThe current UTC calendar date as an epoch-day number, captured when the script run begins.
The current UTC date and time as an exact civil datetime, captured when the script run begins to millisecond precision.