content/commands/psetex.md
PSETEX works exactly like [SETEX]({{< relref "/commands/setex" >}}) with the sole difference that the expire
time is specified in milliseconds instead of seconds.
{{% redis-cli %}} PSETEX mykey 1000 "Hello" PTTL mykey GET mykey {{% /redis-cli %}}
| Redis Software | Redis Cloud | <span style="min-width: 9em; display: table-cell">Notes</span> | |:----------------------|:-----------------|:------| | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | <span title="Supported">✅ Standard</span> <span title="Supported"><nobr>✅ Active-Active</nobr></span> | |
{{< multitabs id="psetex-return-info" tab1="RESP2" tab2="RESP3" >}}
Simple string reply: OK.
-tab-sep-
Simple string reply: OK.
{{< /multitabs >}}