converts date values to strings for concatenation