Hi, is this for the Jira connector? I don't have access now but I can tell what I remember on how I did it.
In the connector there is a helper to select data, from there you can see text boxes to set values for createdAfter, modifiedAfter or something like that, setting some test values and creating the script you will get the needed syntax.
Then you only need to change this values with variables to make this dates dynamic. I think the format for dates was DD-MM-YYYY but I'm not sure.