Kotlin날짜/시간format

format날짜/시간

지정 패턴으로 날짜를 포맷합니다.

문법

date.format(DateTimeFormatter.ofPattern(pattern))