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

查看所有标签

Rapid Web Applications with TurboGears

Rapid Web Applications with TurboGears

Mark Ramm、Kevin Dangoor、Gigi Sayfan / Prentice Hall PTR / 2006-11-07 / USD 44.99

"Dear PHP, It's over between us. You can keep the kitchen sink, but I want my MVC. With TurboGears, I was able to shed the most heinous FileMaker Pro legacy 'solu-tion' imaginable. It has relationshi......一起来看看 《Rapid Web Applications with TurboGears》 这本书的介绍吧!

XML 在线格式化
XML 在线格式化

在线 XML 格式化压缩工具

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

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

HEX HSV 互换工具