Construct a DATE_PERIOD string

date_period(start_date = date_calendar(), end_date = date_calendar())

Arguments

start_date

A DATE_CALENDAR() object giving the start of the period. If only the start date is provided, a string of the form "FROM date" will be returned.

end_date

A DATE_CALENDAR() object giving the end of the period. If only the end date is provided, a string of the form "TO date" will be returned.

Value

A DATE_PERIOD string.