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) 999
redis> GET mykey "Hello"
© 2009–2018 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/psetex