origin of time in python code example
Example 1: datetime python timezone
import datetime
import pytz
my_date = datetime.datetime.now(pytz.timezone('US/Pacific'))
Example 2: python - oordinated universal time
from datetime import datetime, timezone
print(datetime.now()) # timezone
print(datetime.now(timezone.utc)) # coordinated universal time