# 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="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-33c79073024d19b71ca67082afe8ea8c46458145%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-c9d3c8bea89a51beb5d8c1d185fec9fc0e8985c1%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1085786630-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FWv5M2BoEVu0kDIV5EPs4%2Fuploads%2Fgit-blob-62e49173727e1fb270bfae06808735f9e6a15555%2Fgrafik.png?alt=media" alt=""><figcaption></figcaption></figure>
