--- title: "date-from-timestamp()" slug: "date-convert-to-date" updated: 2026-08-13T08:20:59Z published: 2026-08-13T08:20:59Z canonical: "docs.lobstersoftware.com/date-convert-to-date" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # date-from-timestamp() This function converts a timestamp **a** into a date. **IMPORTANT:** Internally, the date still has a time component. An equality test (e.g. with the function a == b ? c : d – see [a equals b ? true c, false d](/v1/docs/en/basic-switch-value)) of two seemingly equal date values may lead to a negative result since such a test considers the time components of the two date values! ## Parameters | Parameter | Description | | --- | --- | | a | Timestamp | ## Examples The function is executed on a field of type "String" or "Date". | Parameter a | Result | | --- | --- | | 2005-01-01 08:20:00.0 | 2005-01-01 |