title: Redis - How to expire key daily
body: <p>I know that EXPIREAT in Redis is used to specify when a key will expire. My problem though is that it takes an absolute UNIX timestamp. I'm finding a hard time thinking about what I should set as an argument if I want the key to expire at the end of the day. </p>
  
  <p>This is how I set my key:</p>
  
  <blockquote>
    <p>client.set(key, body);</p>
  </blockquote>
  
  <p>So to set the expire at:</p>
  
  <blockquote>
    <p>client.expireat(key, ???);</p>
  </blockquote>
  
  <p>Any ideas? I'm using this with nodejs and sailsjs 
  Thanks!</p>