This command works exactly like EXPIRE but the time to live of the key is specified in milliseconds instead of seconds.
*Return value
Integer reply, specifically:
1if the timeout was set.0ifkeydoes not exist.
*Examples
redis>
SET mykey "Hello"
"OK"redis> PEXPIRE mykey 1500
(integer) 1redis> TTL mykey
(integer) 1redis> PTTL mykey
(integer) 1499