> For the complete documentation index, see [llms.txt](https://docs.tomat.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tomat.ai/data-transformation/formulas/date-and-time-functions/datediff2.md).

# DateDiff2

#### Inputs

`DateDiff(string1, string2, datePart)`
