getFormattedDate

fun getFormattedDate(dateString: String?, format: String, outputFormat: String, shouldReturnCurrentDateIfNull: Boolean = false, asPastDate: Boolean = false): String

Converts a string from the input format to the output format.


fun getFormattedDate(timeInMillis: Long, outputFormat: String): String

Formats a UTC timestamp to a string date.