def history_date(soup, date_type = None):
if(date_type == None):<EOL><INDENT>return None<EOL><DEDENT>history_date = raw_parser.history_date(soup, date_type)<EOL>if history_date is None:<EOL><INDENT>return None<EOL><DEDENT>(day, month, year) = ymd(history_date)<EOL>return date_struct(year, month, day)<EOL>
Find a date in the history tag for the specific date_type
typical date_type values: received, accepted