offsetBy

fun offsetBy(seconds: Int, style: TimeStyle = TimeStyle.DATETIME_SHORT): String

The current time offset by a given numbers of seconds.

Parameters

seconds

The number of seconds (+/-) to offset by.

style

The TimeStyle to output as.