PSETEX key milliseconds value
PSETEX works exactly like SETEX with the sole difference that the expire time is specified in milliseconds instead of seconds.
"OK"
redis> PTTL mykey (integer) 998
redis> GET mykey "Hello"
© 2009–2017 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/psetex