use daterangepicker object to access start and endtimes