title: Paramiko. Get Files by modified time
body: <pre><code>localpath = 'U:\\'
  utime = sftp.stat("/TestBTEC/").st_mtime
  last_modified = datetime.fromtimestamp(utime)
  if (datetime.now()-last_modified)&lt;=timedelta(hours=24):
   sftp.get(last_modified, localpath)
  </code></pre>
  
  <p>I am receiving the following exception error:
  Exception: unknown type for datetime.datetime(2012, 2, 15, 9, 4, 58) type </p>