Redis Server: TIME
TIME
Redis TIME command is used to return the current server time as a two items lists: a Unix timestamp and the amount of microseconds already elapsed in the current second.
Syntax:
TIME
Available since
2.6.0.
Return Value
A multi bulk reply containing two elements:
- unix time in seconds.
- microseconds.
Return Value Type
Integer
Example: Redis TIME
redis 127.0.0.1:6379> TIME 1) "1410856598" 2) "928370"
Previous:
SYNC
Next:
Administration
Backup and Restore
- New Content published on w3resource:
- HTML-CSS Practical: Exercises, Practice, Solution
- Java Regular Expression: Exercises, Practice, Solution
- Scala Programming Exercises, Practice, Solution
- Python Itertools exercises
- Python Numpy exercises
- Python GeoPy Package exercises
- Python Pandas exercises
- Python nltk exercises
- Python BeautifulSoup exercises
- Form Template
- Composer - PHP Package Manager
- PHPUnit - PHP Testing
- Laravel - PHP Framework
- Angular - JavaScript Framework
- Vue - JavaScript Framework
- Jest - JavaScript Testing Framework