combine date and time segments