now

fun DefaultKalugaDate.Companion.now(offsetInMilliseconds: Long, timeZone: KalugaTimeZone = KalugaTimeZone.current(), locale: KalugaLocale = defaultLocale): KalugaDate

Creates a KalugaDate relative to the current time

Return

A KalugaDate relative to the current time

Parameters

offsetInMilliseconds

The offset in milliseconds from the current time. Defaults to 0

timeZone

The KalugaTimeZone in which the Date is set. Defaults to KalugaTimeZone.current

locale

The KalugaLocale for which the Date is configured. Defaults to KalugaLocale.defaultLocale