updated date validator to support large integers

32bit version of php converts large integers to doubles
fixes #6352