getNowString

open fun getNowString(): String

Return the current formatted time string.

The pattern is {@code yyyy-MM-dd HH:mm:ss}.

Return

the current formatted time string

open fun getNowString(format: DateFormat): String

Return the current formatted time string.

Return

the current formatted time string

Parameters

format

The format.