Construct a DATE_CALENDAR string

date_calendar(
  year = integer(),
  month = integer(),
  day = integer(),
  year_is_bce = FALSE,
  year_is_dual = FALSE
)

Arguments

year

The year.

month

The month number.

day

The day number.

year_is_bce

If the year is given without a day or month, whether it should be interpreted as being before the Common Era.

year_is_dual

If the year is given with a month, whether to interpret the year as the first part of a dual year (only for English dates pre-1752). If TRUE, it will transform a year of 1745 to 1745/46.

Value

A DATE_CALENDAR string.