time 命令/方法/函数

Description

Return the current Redis server time.

返回当前REDIS服务器的生存时间。


Parameters

(none)


Return value

If successfull, the time will come back as an associative array with element zero being the unix timestamp, and element one being microseconds.


Examples

$redis->time();