SDK
SDK C# v1.x
1

You are currently looking at the documentation of a previous version of Kuzzle. We strongly recommend that you use the latest version. You can also use the version selector in the top menu.

NowAsync #

Returns the current server timestamp, in Epoch-millis format.

Arguments #

Copied to clipboard!
async Task<Int64> NowAsync()

Return #

Returns current server timestamp as Int64.

Usage #

Copied to clipboard!
Int64 now = await kuzzle.Server.NowAsync();
Console.WriteLine("Epoch-millis timestamp: " + now);