Card Form: Troubles with date calculations