tzinfo=timezone.utc python code example
Example: datetime python timezone
import datetime
import pytz
my_date = datetime.datetime.now(pytz.timezone('US/Pacific'))
import datetime
import pytz
my_date = datetime.datetime.now(pytz.timezone('US/Pacific'))