PEXPIRETIME
Since 1.1.0Keys
Syntax
PEXPIRETIME keyReturns the Unix time, in milliseconds, at which key expires.
Reply
- The time.
-1if the key has no expiry.-2if the key does not exist.
Examples
> SET a 1
OK
> EXPIREAT a 4102444800
(integer) 1
> PEXPIRETIME a
(integer) 4102444800000