SDPIII-51,SDPIII-85,SDPIII-90,SDPIII-91,SDPIII-92,SDPIII-93 : adding end_of_day to include to_date