Mongodb aggregation: filter by "$lte" date


#1

Hello.
I am trying to filter documents by date.
I just need to select documents with a field between two dates.
Currently the only way I have found is this:

{
            "$match": {
                "acl.start": {
                    "$gte": {
                        "$humanTime": "{{ from }}"
                    },
                    "$lte": {
                        "$humanTime": "{{ to }}"
                    }
                }
            }
        }

But it’s tedious and unnecessary.
I have tried “$date”, but it seems to filter out all documents no matter what I input.
Please provide an example of hardcoding a date