[kotlin] date custome formmater 방법
val current = LocalDateTime.now()
val formatter = DateTimeFormatter.ofPattern("yyyy.MM.dd HH:mm")
val date = current.format(formatter)
'android,kotlin' 카테고리의 다른 글
[kotlin] not build viewbinding 해결방법 (0) | 2021.10.26 |
---|---|
[kotlin]Must be called from main thread of fragment host해결방법 (0) | 2021.10.06 |
[kotlin]Missing contentDescription attribute on image 해결 방법 (0) | 2021.09.23 |
[kotlin]webview errr_access_Denied 해결방법 (0) | 2021.03.15 |
[android] Instant Run is not supported on devices with API levels 20 or lower. 해결방법 (0) | 2020.01.31 |