# Drawstep engine · Effects · `setDayNight` > Set day night — CR 730.1, 730.3: "it becomes day / night"; nothing happens if it already is. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/effects#setDayNight ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "setDayNight", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `"day" \| "night"` | yes | Day or night | ## Minimal form ```json {"effect":"setDayNight","to":"day"} ``` The engine reads that minimal form as: “it becomes day”. ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive