def get_date(self, filename):
try:<EOL><INDENT>self.document = parse(filename)<EOL>return self._get_date()<EOL><DEDENT>except DateNotFoundException:<EOL><INDENT>print("<STR_LIT>".format(filename))<EOL>return datetime.datetime.strftime(datetime.datetime.now(),<EOL>"<STR_LIT>")<EOL><DEDENT>
Return the date of the article in file.