code: def parse_time(block_time):
      
      return datetime.strptime(block_time, timeFormat).replace(tzinfo=timezone.utc)
docs: Take a string representation of time from the blockchain, and parse it
         into datetime object.