'Query on epoch mongodb redash

We are saving created time as epoch in one of our mongodb, and we want to query on the basis of time.

As per documentation here: https://redash.io/help/data-sources/querying/mongodb

We tried below, but it didn't work

// 1st
{
    "collection": "transactions",
    "query": {
        "created": {
            "$gt": {
                "$humanTime": "1652719533000"
            }
        }
    }
}

// 2nd
{
    "collection": "transactions",
    "query": {
        "created": {
            "$gt": {
                "$humanTime": "2 months ago"
            }
        }
    }
}



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source