now

fun now(): JsLong(source)

Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).

MDN Reference