# CREATEDATE

#### Syntax <a href="#syntax.14" id="syntax.14"></a>

**CREATEDATE**(*year;* *month;* *day*)

* *year* - the year of the returned date - ***Value type**: number*
* *month* - the month of the returned date - ***Value type**: number*
* *day* - the day of the returned date - ***Value type**: number*

#### Remarks <a href="#remarks.11" id="remarks.11"></a>

* nedyx uses the 1900 date system, meaning the first possible date is 1/1/1900.
* The three parameters allow the following values
  * *year*
    * if *year* is < 1900 or > 9999, !VALUE is returned
  * *month*
    * if *month* is < 1 or > 12, !VALUE is returned
  * *day*
    * *day* is always added as amount of days (-1) to the first day of the defined month, even if the resulting day is then in another month.

#### Examples

<figure><img src="/files/PPLuMHfwmlgeAM9OFf1a" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/5k3lFz3suGDwcjI8UsIb" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/fGZ1jj1fEyDyP4JQUtmr" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: 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://docs.nedyx.com/nedyx/clearlines-functions/date-functions/createdate.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.
