add query start date to history