diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:19:36 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-01-04 07:20:07 +0000 |
commit | dd874ab02db04853d4b5952712ab34693f9a93de (patch) | |
tree | 4b4e05d004da14862aa1680cf761476fa2b4a05c /iredis/data/commands/expiretime.md | |
parent | Releasing debian version 1.12.1-1. (diff) | |
download | iredis-dd874ab02db04853d4b5952712ab34693f9a93de.tar.xz iredis-dd874ab02db04853d4b5952712ab34693f9a93de.zip |
Merging upstream version 1.13.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/expiretime.md')
-rw-r--r-- | iredis/data/commands/expiretime.md | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/iredis/data/commands/expiretime.md b/iredis/data/commands/expiretime.md index 1c4c815..b524dcc 100644 --- a/iredis/data/commands/expiretime.md +++ b/iredis/data/commands/expiretime.md @@ -1,17 +1,13 @@ -Returns the absolute Unix timestamp (since January 1, 1970) in seconds at which -the given key will expire. +Returns the absolute Unix timestamp (since January 1, 1970) in seconds at which the given key will expire. -See also the `PEXPIRETIME` command which returns the same information with -milliseconds resolution. +See also the `PEXPIRETIME` command which returns the same information with milliseconds resolution. @return -@integer-reply: Expiration Unix timestamp in seconds, or a negative value in -order to signal an error (see the description below). +@integer-reply: Expiration Unix timestamp in seconds, or a negative value in order to signal an error (see the description below). -- The command returns `-1` if the key exists but has no associated expiration - time. -- The command returns `-2` if the key does not exist. +* The command returns `-1` if the key exists but has no associated expiration time. +* The command returns `-2` if the key does not exist. @examples |