Skip to content
This repository
tree: 1a7d0e5491
Fetching contributors…

Cannot retrieve contributors at this time

file 20 lines (14 sloc) 0.408 kb

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

@multi-bulk-reply, specifically:

A multi bulk reply containing two elements:

  • unix time in seconds.
  • microseconds.

@examples

TIME
TIME
Something went wrong with that request. Please try again.