> For the complete documentation index, see [llms.txt](https://infinitypbr.gitbook.io/magic-pig-games/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://infinitypbr.gitbook.io/magic-pig-games/game-modules-4/module-documentation/gametime-and-timeboard/gametime.md).

# Gametime

You will generally utilize `Gametime` through the [**Timeboard**](/magic-pig-games/game-modules-4/module-documentation/gametime-and-timeboard/timeboard.md) prefab, which you should add to your scene. This is required for automatic operation of [**Conditions**](/magic-pig-games/game-modules-4/module-documentation/conditions.md) and [**Quests**](/magic-pig-games/game-modules-4/module-documentation/quests.md).

The `Timeboard` component has a `Gametime` class, where you can set up the options you'll be using for your project.

{% hint style="success" %}
Create a *Prefab Variant* for your version of **Timeboard** to avoid accidental overwriting if the prefab which comes with the Game Modules package is ever updated.
{% endhint %}

{% hint style="info" %}
The `DatePart` Enum is used in many methods, and contains `Second`, `Minute`, `Hour`, `Day`, `Week`, `Month`, `Season`, and `Year`.
{% endhint %}

{% hint style="info" %}
The value of `gameTime` is will be `0` at the start of the first day of the `startingYear`.

As you update the other starting values in the Inspector, you'll notice the value of `gameTime` will change.
{% endhint %}
