def month_id(dte):
    """
    Return an integer in the format YYYYMM.

    Argument:
        dte - the dte to use in making the month id.
    """
    result = dte.year * 100 + dte.month
    return result