> For the complete documentation index, see [llms.txt](https://wiki.breadbuilds.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.breadbuilds.com/hytale-tutorials/change-day-night-duration.md).

# Change day/night duration

* Step 1: Stop Your Server Always turn off your server before editing configuration files to prevent data corruption or changes not saving.
* Step 2: Locate the Config File Navigate to your server files and find the configuration file for your specific world.
  * Path: `/hytale/universe/worlds/<world_name>/config.json`
* Step 3: Edit the Gameplay Config Open the file and look for the line `"GameplayConfig":`. You may need to add the following lines manually right under it if they don't exist:

<mark style="color:$primary;">JSON</mark>

```
"GameplayConfig": {
    "DaytimeDurationSeconds": 1800,
    "NighttimeDurationSeconds": 1000
}
```

* Step 4: Save and Restart Save the file changes and start your server. The new cycle lengths will apply immediately.

#### Pro Tip: Time Math

The values are in seconds. Here is a quick cheat sheet for common durations:

* 10 Minutes: `600`
* 20 Minutes: `1200`
* 30 Minutes: `1800`
* 1 Hour: `3600`

For example, if you want a very long day for building, set `"DaytimeDurationSeconds"` to `3600` (1 hour).

{% hint style="success" %}
**Good to know:** Browse through amazing Hytale builds – hubs, spawns and lobbies, arenas, SkyBlock islands and much more <https://www.breadbuilds.com/hytale-builds>
{% endhint %}
