This script is to check date format.