--- title: "convert date to Excel-format()" slug: "date-convert-to-internal-excel" updated: 2026-08-13T06:54:05Z published: 2026-08-13T06:54:05Z canonical: "docs.lobstersoftware.com/date-convert-to-internal-excel" --- > ## 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. # convert date to Excel-format() This function creates a text in Excel's internal date format from date **a**. **b** specifies if the text should contain time information. ## Parameters | Parameter | Description | | --- | --- | | a | The date to be formatted. | | b | (optional) "true" if the output should not contain the time information. Default: "false". | ## Examples | Parameter a | Parameter b | Result | | --- | --- | --- | | 2014-03-31 13:47:02.0 | | 41729,5743287037 | | 2014-03-31 13:47:02.0 | false | 41729,5743287037 | | 2014-03-31 13:47:02.0 | true | 41729 | | 2000-01-01 00:00:00.0 | false | 36526,0 | | 2000-01-01 00:00:00.0 | true | 36526 |