def diff_dates(date1, date2, verbose=True):
    """Return the difference between date1 and date2 in number of days"""

    result = date2 - date1

    if verbose:
        print('%s to %s: %d day(s)' % (date1, date2, result))
    else:
        print(result)

    return result