Convert filter value for type date