PEXPIREAT key milliseconds-timestamp
PEXPIREAT has the same effect and semantic as EXPIREAT, but the Unix time at which the key will expire is specified in milliseconds instead of seconds.
Integer reply, specifically:
1 if the timeout was set.0 if key does not exist."OK" redis> PEXPIREAT mykey 1555555555005 (integer) 1 redis> TTL mykey (integer) 14181068 redis> PTTL mykey (integer) 14181067817
© 2009–2018 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/pexpireat