AttentionThis page documents an earlier version. Go to the latest (v2.1)version.
PEXPIREAT key ttl-as-timestamp
PEXPIREAT has the same effect as EXPIREAT, but the Unix timestamp at which the key will expire is specified in milliseconds instead of seconds.
Returns integer reply, specifically 1 if the timeout was set and 0 if key does not exist.
$ SET yugakey "Yugabyte"
$ PEXPIREAT yugakey 1555555555005
$ PTTL yugakey