> ## Documentation Index
> Fetch the complete documentation index at: https://botmesh.afaya.com.co/llms.txt
> Use this file to discover all available pages before exploring further.

# parseFormDate()

> Function exported by @botmesh/core/spi.

```ts theme={null}
function parseFormDate(input): string | undefined;
```

Defined in: [forms/validate.ts:194](https://github.com/andresayac/botmesh/blob/main/packages/core/src/forms/validate.ts#L194)

Parse a date answer: `YYYY-MM-DD`, `DD/MM/YYYY`, `DD-MM-YYYY` or `DD.MM.YYYY` → `YYYY-MM-DD`.

## Parameters

| Parameter | Type |
| - | - |
| `input` | `string` |

## Returns

`string` | `undefined`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.