from datetime import datetime


def datetime_name(output_name):
    """Creates a filename for the output according to the given format."""
    now = datetime.now()
    return f'{output_name}-{now.strftime("%Y-%m-%d-%H-%M")}.csv'