def to_month_number(month_name):
    """ 
    Convert English month name to a number from 1 to 12.
    
    Parameters
    ----------
    month_name : str
        Month name in English
       
    Returns
    ----------
    month_number: int
        1-12 for the names from January to December, 0 for other inputs
    
    """
    names = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"]
    if month_name in names:
        return names.index(month_name) + 1
    else:
        return 0