- Usage:
PEXPIRETIME key
- Complexity:
- O(1)
- Since:
- 7.0.0
PEXPIRETIME has the same semantic as EXPIRETIME, but returns the absolute Unix expiration timestamp in milliseconds instead of seconds.
Examples
SET mykey "Hello"
PEXPIREAT mykey 33177117420000
PEXPIRETIME mykey