# show the time in a different time zone
# see also: http://worldtimezone.net/
import datetime as dt
now = dt.datetime.now()
# for instance Los Angeles California
# runs 8 hours behind GMT time
gmt_offset = -8
gmt = dt.timedelta(hours=gmt_offset)
print("Current L.A. time = %s" % now.time())
print("Current GMT time = %s" % (now - gmt).time())
''' my output -->
Current L.A. time = 12:44:24.181000
Current GMT time = 20:44:24.181000
You might have to allow for daylight savings time.
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...