Find out when a key expires

I am on 4.0.62, is there a way to find out when a key expires? My Google Fu is failing me.

Not sure what key you’re referring to, but you can use the GetTimeToLive() API available on an ICacheClient or RedisClient.

Thanks! Twice today you’ve helped. We were using another Redis client and it just wasn’t working out, thankfully we have it all contained to a single class wrapper and that is what I am working on replacing.