fully working time logic, had to pull in a timepicker that integrated with existing jq ui datepicker