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

查看所有标签

Web Operations

Web Operations

John Allspaw、Jesse Robbins / O'Reilly Media / 2010-6-28 / USD 39.99

A web application involves many specialists, but it takes people in web ops to ensure that everything works together throughout an application's lifetime. It's the expertise you need when your start-u......一起来看看 《Web Operations》 这本书的介绍吧!

随机密码生成器
随机密码生成器

多种字符组合密码

URL 编码/解码
URL 编码/解码

URL 编码/解码

RGB CMYK 转换工具
RGB CMYK 转换工具

RGB CMYK 互转工具