convertToClockTime

fun convertToClockTime(context: Context, time: String): String

Convert the given time to a clock time. If the time is the same as the current hour, return "Now". Otherwise, return the time in HH:mm format.

Return

The time in clock time format.

Parameters

time

The time to convert.