Kotlin- How to get the day and the month from calendar.get(Calendar.MONTH) or calendar.get(Calendar.DAY_OF_MONTH) in this format “dd” or “mm”

后端 未结 0 1370
悲哀的现实
悲哀的现实 2021-01-29 07:48

I have a variable date which is a string that needs to be in this format "yyyy-mm-dd" and i get the data from a variable of type CALENDAR so when the month or the day

相关标签:
回答
  • 消灭零回复
提交回复
热议问题