Today we’re excited to announce the first milestone release of the
kotlinx-datetime library, version 0.1.
There is a longstanding request for the ability to work with dates in Kotlin. In Kotlin/JVM, you can rely on the
java.time.* API, but there’s no such option when developing a multiplatform project.
Though several multiplatform kotlin libraries already exist in this field, we feel that such a fundamental need should be addressed by a
kotlinx-datetime is a multiplatform library for working with dates and times in Kotlin. It supports Kotlin/JVM, Kotlin/JS, and a variety of Kotlin/Native targets.
Our vision is first to provide a minimal API that can cover the most common practical use cases, and then to extend that API to cover more.
You can learn more about what’s in the library and find instructions for setting up a dependency in your project in the README.
This release is a first step on the path to a stable library, so we are particularly looking forward to your feedback.
Feel free to submit issues to GitHub or ask questions here or in Slack (get an invite here).