YouTip LogoYouTip

Server Time

# Redis TIME Command # [Tutorial -- Learning more than just technology, but also dreams!](#) * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0);) * (javascript:void(0)) Redis Tutorial (#)(#)(#)(#)(#) ## Redis Commands (#)(#)(#)(#)(#)(#)(#)(#)[Redis Pub/Sub](#)(#)(#)(#)(#)(#)(#) ## Redis Advanced Tutorial [Redis Data Backup & Recovery](#)(#)(#)(#)(#)(#)(#)(#) [](#)(#) [Redis Data Backup & Recovery](#)[](#) # Redis TIME Command !(#)(#) The Redis TIME command is used to return the current server time. ### Syntax The basic syntax for the Redis TIME command is as follows: redis 127.0.0.1:6379> TIME ### Available Since >= 2.6.0 ### Return Value A list containing two strings: the first string is the current time (represented as a UNIX timestamp), and the second string is the number of microseconds that have elapsed in the current second. ### Example redis 127.0.0.1:6379> TIME 1) "1410856598"2) "928370" !(#)(#)
← Cpp Examples Sum Natural NumbeCpp Examples Largest Number Am β†’