def convertDT(tpitDT)
      return nil if tpitDT.nil?
      date = tpitDT["date"]
      time = tpitDT["time"]
      offset = tpitDT["utc_offset"]
      if time.nil?
        # Just return a date
        Date.parse(date)
      elsif date.nil?
        # Or just a time
        Time.parse(time)
      else
        # Ideally both
        DateTime.parse("#{date}T#{time}#{offset}")
      end
    end
def convertDT(tpitDT)
      return nil if tpitDT.nil?
      date = tpitDT["date"]
      time = tpitDT["time"]
      offset = tpitDT["utc_offset"]
      if time.nil?
        # Just return a date
        Date.parse(date)
      elsif date.nil?
        # Or just a time
        Time.parse(time)
      else
        # Ideally both
        DateTime.parse("#{date}T#{time}#{offset}")
      end
    end
Convert a TripIt DateTime Object to a Ruby DateTime Object