formatDate

fun LocalDate.formatDate(): String

Formats the LocalDate into a string representation of the standard UK date form.

Return

A string representation of the date and time formatted according to the provided pattern.