CustomDate

fun CustomDate()

Creates a custom-formatted date based on the current date.

fun CustomDate(year: Int, month: Int, dayInMonth: Int)

Creates a custom-formatted date given the year, month, and day components.

Parameters

year

year component of the date

month

month component of the date

dayInMonth

day component of the date