Rest get snap pagination nexturl issue

Hi,
I am trying to Update the below url in rest get snap and want to add filter on date in place of Days.

URL I am Using :
_JiraHost+“/rest/api/2/search?maxResults=50&startAt=”+(parseInt($entity.startAt)+50)+“&jql=project+in+(”+_project.replaceAll(’ ‘,’+‘).replaceAll(’“‘,’%22’)+”)+AND+Created%22+%3E±"+_days+"d"

Need to add created Date:AND createdDate > “+_InputDate+” AND createdDate < “+_CurrentDate+”"