> 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/formatdatetodayunix.md).

# formatDateTodayUnix

formatDateTodayUnix() function in 200OK is a standard function which is used to returns date in specified format.

**Description** : The formatDate function adjusts the input date by the specified number of days, months, and years, formatting it in Unix time format.

**Syntax** : fx\_formatDate(today,format=unix,addDays=x,addMonths=y,addYears=z)

**Example** : fx\_formatDate(today, format=unix, addDays=2, addMonths=3, addYears=4) returns "2028-01-19T08:00:00.000Z".

**Request Side** :&#x20;

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

**Response Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/tC2kSlX73KJ3aoG4HbwpspKEcsLPiVi-MHWBfBvwBiHe0Fd-0m9u31QlaBDXnCOeQCdbfp0g0Ut9tfGa_4tnmZG4Jx0muDorV4Bkw3J4KtASkX0tB4KcU4PsvqEGLDKXGTJ4T39fmK8IlvzD9yuBfbU" alt=""><figcaption></figcaption></figure>

<figure><img src="https://lh7-us.googleusercontent.com/1djHjxrLrUmWK2IDBVGupW6OQdBq0xY1JRXBDiIDdNYiqhezEcIzgRbzMS1fceAJ4A1gXUyBx-msnHMnlSWel82T2bM9M5hiVKhI4zKFYSYJ4VN7u3L_AmwhI-WCdUanMgcTITfOaadTaSBfwZGGpsI" alt=""><figcaption></figcaption></figure>
