In [1]:
import datetime

In [2]:
dt_now = datetime.datetime.now()

In [3]:
print(dt_now)


2019-01-20 23:53:16.711783

In [4]:
print(dt_now.tzinfo)


None

In [5]:
dt_now_utc = datetime.datetime.now(datetime.timezone.utc)

In [6]:
print(dt_now_utc)


2019-01-20 14:53:16.735097+00:00

In [7]:
print(dt_now_utc.tzinfo)


UTC

In [8]:
dt_now_jst = datetime.datetime.now(datetime.timezone(datetime.timedelta(hours=9)))

In [9]:
print(dt_now_jst)


2019-01-20 23:53:16.758037+09:00

In [10]:
print(dt_now_jst.tzinfo)


UTC+09:00

In [11]:
dt_utcnow = datetime.datetime.utcnow()

In [12]:
print(dt_utcnow)


2019-01-20 14:53:16.802029

In [13]:
print(dt_utcnow.tzinfo)


None