Transform a date value retrieved from POST form to store with an ORM