Skip to content

TomSabel/PlatformDateTime

Repository files navigation

Kotlin Multiplatform Date and Time Management

This repository contains the example code for managing date and time in Kotlin Multiplatform projects, as described in the Medium article "Mastering Date and Time Management in iOS with Kotlinx DateTime: A Step-by-Step Guide".

Overview

In this project, you'll find examples of how to:

  • Convert NSDate from Swift to Instant in Kotlin Multiplatform.
  • Use typealias and expect/actual mechanisms for platform-specific implementations.
  • Seamlessly integrate date and time functionalities between Swift and Kotlin.