You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Redis docs, TIME() should show the current server time, as a timestamp since the Unix epoch, and the number of microseconds that have elapsed: https://redis.io/commands/TIME
However, doing client.time() returns a date in 1970, not the current time.
According to the Redis docs, TIME() should show the current server time, as a timestamp since the Unix epoch, and the number of microseconds that have elapsed: https://redis.io/commands/TIME
However, doing client.time() returns a date in 1970, not the current time.
Sample code:
Output: 1970-01-20T01:05:44.873Z { microseconds: 880958 }
Linux
date +%s
returns 1645544389, which is the current date/timeEnvironment:
The text was updated successfully, but these errors were encountered: