getDate

fun Long.getDate(dateFormat: String?): String?

Return date in specified format. The receiver is interpreted as milliseconds since the Unix epoch.

Return

String representing date in specified format

Parameters

dateFormat

Date format