The onTimeRangeSelected event is called when the selected date is changed by the user, after the target element was updated.
DayPilot.DatePicker.onTimeRangeSelected(args);
args.date - the selected date (DayPilot.Date object)
args.date