code: def get_sec_from_morning(timestamp):
      
      t_lt = time.localtime(timestamp)
      return t_lt.tm_hour * 3600 + t_lt.tm_min * 60 + t_lt.tm_sec
docs: Get the number of seconds elapsed since the beginning of the
      day deducted from the provided timestamp
  
      :param timestamp: time to use for computation
      :type timestamp: int
      :return: timestamp
      :rtype: int