construct date objects