# On Year, Day, and Time

{% hint style="success" %}
This trigger is event-based and carefully crafted for optimal performance, making it more efficient and better for performance compared to frequent checks every frame.
{% endhint %}

```
COZY > Time > On Year, Day, and Time
```

## Description

```
Triggers when the specified year, day, and time happen.
```

## Parameters <a href="#parameters" id="parameters"></a>

| Name                      | Description                                                                                                                                                                                                         |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Target Year               | Specifies the year at which the event should trigger.                                                                                                                                                               |
| Target Day                | Specifies the day of the year at which the event should trigger. Valid values are from 1 to the number of days in a year.                                                                                           |
| Target Hour               | Specifies the hour (in 24-hour format) at which the event should trigger. Valid values range from 0 to 23, where 0 represents midnight and 23 represents 11 PM.                                                     |
| Target Minute             | Specifies the minute within the target hour at which the event should trigger. Valid values range from 0 to 59, where 0 represents the start of the hour and 59 represents the last minute of the hour.             |
| Keep Checking in the Past | If true, the trigger will remain active and check every day even if the year is in the past. This option should be enabled only if you intend to manually set the time back to a previous day within the same year. |

## Keywords

```
Year, Time, Day, COZY, Trigger
```


---

# 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.fullscreen.no/info/game-creator-2-assets/cozy-stylized-weather-integration/triggers/on-year-day-and-time.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.
