AttentionThis page documents an earlier version. Go to the latest (v2.2)version.
PEXPIRE key timeout
This command works exactly like EXPIRE but the time to live of the key is specified in milliseconds instead of seconds.
Returns integer reply, specifically 1 if the timeout was set and 0 if key does not exist.
$ SET yugakey "Yugabyte"
$ PEXPIRE yugakey 10000
$ PTTL yugakey