RichUtils / pyxis.uzuki.live.richutilskt.utils / kotlin.String / toDateString

toDateString

fun String.toDateString(fromFormat: String, toFormat: String): String

format formatted date to another formatted date

Parameters

fromFormat - original date format

toFormat - to convert

Return
new Formatted Date