FAPI validation of a date element. Makes sure the specified date format is
correct and converts date values specifiy a fixed (= non relative) date to
a timestamp. Relative dates are handled by the date input evaluator.
Performs validation on form elements. First ensures required fields are
completed, #maxlength is not exceeded, and selected options were in the
list of options given to the user. Then calls user-defined validators.