title: timestamp column in sqlite return string in python
body: <p>i create a table with <code>SQLite Date Browse</code> App ...</p>
  
  <p>when i want retrieve <code>datetime</code> value from <code>timestamp</code> column , SQLite return unicod type ...</p>
  
  <p><img src="https://i.stack.imgur.com/jj8GL.png" alt="enter image description here"> </p>
  
  <p>this is my insert code :</p>
  
  <pre><code>def Insert(self,mode,path,vname,stime,ftime):
          con = sqlite3.connect(PATH_DataBase)  # @UndefinedVariable
          con.execute('INSERT INTO SendList VALUES(?,?,?,?,?)',(mode,path,vname,stime,ftime))
          con.commit()
          con.close()
  
  dt1 = datetime.datetime(2013,01,01,01,01,01,0)
  dt2 = datetime.datetime(2015,01,01,01,01,01,0)
  c = 0
      for f in os.listdir('/home/abbas/test/'):
          c += 1
          slist.Insert(common.MODE_Bluetooth_JAVA, '/home/abbas/test/'+f,'flower'+str(c) , dt1, dt2)
  </code></pre>
  
  <p>and now this is my table :</p>
  
  <p><img src="https://i.stack.imgur.com/NXjxa.png" alt="enter image description here"></p>
  
  <p>but when i want compare <code>starttime</code> with datetime.now() python give me error :</p>
  
  <p><code>TypeError: can't compare datetime.datetime to unicode</code></p>