There are two values for the date: the first value represents the date at the beginning of the period and the second value represents the date following the end of the period.
The host variable is divided in half; each date is placed in the corresponding half using the regular date format processing. This is under control of the -d or DATE() option.