Change start and end dates to times