def format_date(date):  # for way-way-back machine urls
    """
    Reformats date so that wayback machine will like it
    :param date:  in datetime64
    :return:
    """
    year = str(date.year)
    month = str(date.month)
    if len(month) < 2:
        month = "0" + month
    day = str(date.day)
    if len(day) < 2:
        day = "0" + day
    return year + month + day