SDK
SDK Jvm v1.x
2

now #

Returns the current server timestamp.

:::: tabs ::: tab Java

CompletableFuture<Date> now()

Return #

Returns a Date representing the current server timestamp.

Usage #

Date result = kuzzle
  .getServerController()
  .now()
  .get();

::: ::: tab Kotlin

fun now(): CompletableFuture<Date>

Return #

Returns a Date representing the current server timestamp.

Usage #

val result: Date = kuzzle
  .serverController
  .now()
  .get()

::: ::::