# Criteria Conditions

## Anniversary

It's quite common to want to filter on a given anniversary.

If you want to specify the anniversary for some "static" date like [Festivus](https://en.wikipedia.org/wiki/Festivus): `dayOfMonth:23` and `month:12`

{% hint style="info" %}
Remember to `and` these together in your definitions.
{% endhint %}

Here is how this might appear when specified in JSON:

```javascript
{
    "conditions": [
        "operator": "and",
        "groups": [
            "operator": "and",
            "conditions": [
                "month:12",
                "dayOfMonth:23"
            ]
        ]
    ]
}
```

## Summer Months

This is a relatively easy recipe, but it's included anyway.

If you want to specify the typical summer months in the northern hemisphere: `months:6,7,8`

If you want to specify the typical summer months in the southern hemisphere: `months:12,1,2`

{% hint style="info" %}
&#x20;In addition to the seasons being different between earth's hemispheres, not everyone agrees on which months constitute a given season. 🤓
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.r4nkt.com/cookbook/criteria-conditions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
