import pytz
from datetime import datetime


def change_tz_now(from_tz, to_tz):
    """
    Change the tz of the current datetime now with a tzinfo attribute.
    Display the current time in two timezones.

    dates   :   list of dates.
    from_tz :   timezone to change.
    to_tz   :   desired timezone.

    e.g.    from_tz = 'US/Pacific'
            to_tz = 'US/Eastern'
    To see all, enter: pytz.all_timezones
                   or: pytz.common_timezones
    """
    tz1 = pytz.timezone(from_tz)
    tz1_now = datetime.now(tz1)
    print(tz1_now)

    tz2 = pytz.timezone(to_tz)
    tz2_now = tz1_now.astimezone(tz2)
    print(tz2_now)
    return tz2_now