summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/pexpireat.md
blob: 4b3ebb7fe824ac5e39f4cefc4b9c912d72659899 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
`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.

@return

@integer-reply, specifically:

- `1` if the timeout was set.
- `0` if `key` does not exist.

@examples

```cli
SET mykey "Hello"
PEXPIREAT mykey 1555555555005
TTL mykey
PTTL mykey
```