[フレーム]
Docs Pricing
Login Book a meeting Try Redis

PEXPIRETIME

Syntax
PEXPIRETIME key
Available since:
Redis Open Source 7.0.0
Time complexity:
O(1)
ACL categories:
@keyspace, @read, @fast,
Compatibility:
Redis Enterprise and Redis Cloud compatibility

PEXPIRETIME has the same semantic as EXPIRETIME, but returns the absolute Unix expiration timestamp in milliseconds instead of seconds.

Examples

SET mykey "Hello" PEXPIREAT mykey 33177117420000 PEXPIRETIME mykey

Redis Enterprise and Redis Cloud compatibility

Redis
Enterprise
Redis
Cloud
Notes
✅ Standard
✅ Active-Active
✅ Standard
✅ Active-Active

Return information

One of the following:

RATE THIS PAGE
Back to top ↑

AltStyle によって変換されたページ (->オリジナル) /