If it is a date field, why do you want to restrict the format? You can give a format to indicate how the values must be shown, but it is very user-unfriendly to force some format to input. A date field itself (in the table) has no format, only a value.