https://kotlinlang.org logo
Title
u

user

07/12/2022, 6:11 AM
Convert UTC date string like "2022-07-07T08:17:12.117000" to your local Timezone in Kotlin and Java. Alternative to Moment library available in react I have used the moment library to convert the date string in my local timezone in react but i have to implement the same in android but the problem is moment library is not available for java/kotlin. I have tried every possible solution on stactoverflow but the exception occur while parsing the date string. Format of the string is: 2022-07-07T08:17:12.117000 and want the output: Jul-07-2022 01:47 pm