Redis Time 命令

Redis 教程 · 2019-03-08 15:59:22

Redis Time 命令用于返回当前服务器时间。

语法

redis Time 命令基本语法如下:

redis 127.0.0.1:6379> TIME 

可用版本

>= 2.6.0

返回值

一个包含两个字符串的列表: 第一个字符串是当前时间(以 UNIX 时间戳格式表示),而第二个字符串是当前这一秒钟已经逝去的微秒数。

实例

redis 127.0.0.1:6379> TIME 
1) "1410856598"
2) "928370"

点击查看所有 Redis 教程 文章: https://codercto.com/courses/l/33.html

查看所有标签

Computational Advertising

Computational Advertising

by Kushal Dave、Vasudeva Varma / Now Publishers Inc / 2014

Computational Advertising (CA), popularly known as online advertising or Web advertising, refers to finding the most relevant ads matching a particular context on the Web. The context depends on the t......一起来看看 《Computational Advertising》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

Markdown 在线编辑器
Markdown 在线编辑器

Markdown 在线编辑器

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具