def breakdate(date):
    """For a date in the YYYYMMDD format, return day, month, year as integers
    """
    day=int(date[6:8])
    month=int(date[4:6])
    year=int(date[0:4])
    return day, month, year