convertToDate

fun convertToDate(milliseconds: Long): String

Converts the given milliseconds to a formatted date string.

Return

A formatted date string in "yyyy-MM-dd" format.

Parameters

milliseconds

The time in milliseconds to convert.