I would like to fill a date in as dd-mm-yyyy but I would like to save the date as Y-m-d in my database. What I have is this: 

Form:

```
$factuurDatum = new Zend_Form_Element_Text('datum');

```

Controller:

```
$data = $addInkoopfactuur->getValues();    
$data['datum'] = date("Y-m-d", strtotime($data['datum']));

```

But it doesn't work. I still get an error: '08-01-2014' and does not fit the date format 'yyyy-MM-dd'. How can I resolve this problem?