Redis

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.

Return value

Multi-bulk reply, specifically:

A multi bulk reply containing two elements:

Examples

redis>  TIME
1) "1369376647"
2) "53880"
redis>  TIME
1) "1369376647"
2) "54818"
redis> 
Comments powered by Disqus