toDashedYYYYMMDD

fun LocalDate.toDashedYYYYMMDD(): String

Formats this LocalDate as ISO-style YYYY-MM-DD, e.g. "2026-04-10".

Extension function on LocalDate.

Return

the formatted date string