TIME
The TIME command returns the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second. Basically the interface is very similar to the one of the gettimeofday
system call.
Array reply, specifically:
A multi bulk reply containing two elements:
1) "1609093316"
2) "660319"
redis> TIME 1) "1609093316"
2) "664668"
© 2009–2020 Salvatore Sanfilippo
Licensed under the Creative Commons Attribution-ShareAlike License 4.0.
https://redis.io/commands/time