This step checks the validity of the date which was input or read as the page name. If the date is invalid, the template defaults to the current date.