Use date range in DSL/KQL query

We have a availability_updated_at field (date) which is automaticly updated when our partners update the availability. I want to filter out wich accos or NOT update

NOT presentation : "as_parent" and NOT availability_updated_at : * and NOT channel : "open_gds"

This works ok. Next step is get all accos they have NOT update 1 or 2 or 3 or 4 ect months
ago. What value must i put after availability_updated_at : ?

remco

can you try:

in lucene:

{
"range" : {
"availability_updated_at" : {
"lt" : "now-2M/M"
}
}
}

in KQL:
availability_updated_at < now-2M/M