Make sure date datatype doesn't accept arbitrary strings