getShortDateTime

expect fun getShortDateTime(time: Long): String(source)

Returns a short string representing the time if it's within the last 24 hours, otherwise returns a combined short date/time string.

Return

Formatted date/time string

Parameters

time

The time in milliseconds

actual fun getShortDateTime(time: Long): String(source)

Returns a short string representing the time if it's within the last 24 hours, otherwise returns a combined short date/time string.

Return

Formatted date/time string

Parameters

time

The time in milliseconds