Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 66d5276322
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (13 sloc) 432 Bytes



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 or the timeout could not be set (see: EXPIRE).


SET mykey "Hello"
PEXPIREAT mykey 1555555555005
TTL mykey
PTTL mykey
Jump to Line
Something went wrong with that request. Please try again.