--- title: "create date(adjustable template)" slug: "date-from-string-2" updated: 2026-08-13T07:06:02Z published: 2026-08-13T07:06:02Z canonical: "docs.lobstersoftware.com/date-from-string-2" --- > ## 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. # create date(adjustable template) For new Profile implementations, please use function "create date strict(adjustable template)" instead. This fucntion returns a timestamp based on the value in **a** and the adjustable format template **b**. If in the error case the value cannot be parsed, the result of the function is the current date with set Empty Flag. If **a** already has the data type "Timestamp" or "Date", a conversion is not necessary. In this case, parameter **b** has to remain empty. ## Parameters | Parameter | Description | | --- | --- | | a | Text to be interpreted. If the text cannot be interpreted, the function returns the current date with set Empty Flag. **NOTE:** If an actual "Date" or "Timestamp" object is specified here instead of a text, parameter **b** has to remain empty. | | b | The [Format templates for dates and times](/v1/docs/en/intro-concepts-format-templates). **IMPORTANT:** If the string in **a** is shorter than the template in **b**, **b** is shortened to the length of **a**. Please note that in rare cases this can lead to loss of accuracy or invalid values and consequential errors. Special case W3CDTF: This format template does not consist of placeholders. Therefore, no shortening is done. | ## Examples Current date of this example: "2011-10-20 15:33:23.0". | Parameter a | Parameter b | Result | | --- | --- | --- | | 241205 | ddMMyyHHmm | 2005-12-24 00:00:00.0 | | No date | ddMMyyHHmm | 2011-10-20 15:33:23.0 | | 2412050820 | ddMMyyHHmm | 2005-12-24 08:20:00.0 | | 1997-07-16T19:20:30Z (see [Format templates for dates and times](/v1/docs/en/intro-concepts-format-templates)) | W3C | 1997-07-16 21:20:30.0 | A profile is the central configuration unit in the Lobster Data Platform. It receives data, processes it, and forwards it. Configuration is done graphically, with no programming required.