> For the complete documentation index, see [llms.txt](https://aklgaming.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aklgaming.gitbook.io/documentation/gusti-resources/gusti-datetime/setup.md).

# Setup

## Installation

* Extract rar file \[STANDALONE] GUSTI DATETIME
* Copy / cut gusti-datetime to your server resources folder
* Open server.cfg
* Add gusti-datetime script with ensure gusti-datetime in server.cfg
* Start server / Restart server
* Finished

## Configuration

Open the config.lua file located in the gusti-datetime folder to configure

{% code title="gusti-datetime/config.lua" %}

```lua
Config = {}

Config.MonthName = {
    "January", "February", "March", "April", "May", "June",
    "July", "August", "September", "October", "November", "December"
}

Config.Date = {
    {
        title = 'Show All Date Time',
        icon = 'calendar-days',
        format = "Date Time : %02d %s %04d %02d:%02d:%02d %s",
        values = {'day', 'monthName', 'year', 'hour', 'minute', 'second', 'ampm'}
    },
    {
        title = 'Show Date',
        icon = 'calendar-days',
        format = "Date : %02d %s %04d",
        values = {'day', 'monthName', 'year'}
    },
    {
        title = 'Show Time',
        icon = 'clock',
        format = "Time : %02d:%02d:%02d %s",
        values = {'hour', 'minute', 'second', 'ampm'}
    }
}
```

{% endcode %}

## Usage

{% tabs %}
{% tab title="exports" %}

```lua
exports['gusti-datetime']:ShowDateTimeMenu()
```

{% endtab %}

{% tab title="client" %}

```lua
TriggerEvent("gusti-datetime:ShowDateTimeMenu")
```

{% endtab %}

{% tab title="server" %}

```lua
TriggerClientEvent("gusti-datetime:ShowDateTimeMenu")
```

{% endtab %}
{% endtabs %}

## Example

```lua
RegisterCommand("datetime", function()
    exports['gusti-datetime']:ShowDateTimeMenu()
end)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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://aklgaming.gitbook.io/documentation/gusti-resources/gusti-datetime/setup.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.
