> For the complete documentation index, see [llms.txt](https://200ok.gitbook.io/200ok-documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://200ok.gitbook.io/200ok-documents/user-manual/built-in-functions/date-and-time/date.md).

# date

date() function is the Standard function available in 200OK.

**Description** : The date function creates a date based on the provided year, month, and day inputs.

**Syntax** : fx\_date(year,month,day)

**Example** : fx\_date(2023,03,12) returns '2023-03-12' as the response, representing the date March 12th, 2023.

Here we go with simple scenario using the above function.

**Scenario** : In a project management application, a project manager schedules project milestones with specific dates. They utilize a function to create a date object from individual components such as year, month, and day. For example, using the function with the parameters (2023, 03, 12) results in the date '2023-03-12', representing a milestone deadline.

<br>

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/D8WLdTTxxaY3EtmvoW_6xSLxEhL_KCqBkrnt22ez3L6sOBpqR9ej891mKaFfFq16Au5aWMIdQTCiQMkAX50nk6zcnuE52wTBJaFo_9Ml7gH3Jr8icwwjEvLge4OXbExrfgmVxyLfytb4stnZQCkiqxk" alt=""><figcaption></figcaption></figure>

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/2VQhzDarnfET0s5sOnM1N4-m1LTAy7hCWFCaKl0h8zoJkNJWk8EDJn3Aw_s8GBexbXdItmkJDU6VIItcJJCvVjZ5geBUKTw8OuRlZK6Y7uaRXAwtGVnBb1tLplpnB0r3MhkaFlOv5FCVhcWDK-eDqUs" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/HXMAAZd3uFCThHD1WdCajOwMbNfQ7deY7WnthtnsakSJCdnE15BilOCfNUvYnNAZmhgWT_3hIjlbZLilb-zjp9iL-yNYcsLcr1Ce8Uz0ueV396d53Td69BQpSmV5nGQnsCtf0iKeH_MU-ot0kNhx-J8" alt=""><figcaption></figcaption></figure>
