from datetime import datetime


def process_env_date(env_date) -> datetime:
    """Return the specified date.  If the input is 'current', return the current date time.

    Argument:
        env_date - a string obtained from the ENV_DATE environmental variable.  It should
           contain the reporting dte.
    """
    if env_date.lower() == 'current':
        dte = datetime.now()
        dte = datetime(dte.year, dte.month, dte.day, 0, 0, 0)
    else:
        dte = datetime.strptime(env_date, "%Y-%m-%d")
    return dte