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.
This is how I set my key:
client.set(key, body);
So to set the expire at:
client.expireat(key, ???);
Any ideas? I'm using this with nodejs and sailsjs Thanks!