Redis TIME Command
The Redis TIME command is used to return the current server time.
Syntax
The basic syntax of the redis TIME command is as follows:
redis 127.0.0.1:6379> TIME
Available Versions
>= 2.6.0
Return Value
A list containing two strings: the first string is the current time (expressed in UNIX timestamp format), and the second string is the number of microseconds that have elapsed in the current second.
Examples
redis 127.0.0.1:6379> TIME 1) "1410856598" 2) "928370"
Other Extensions