Shape the future of Kotlin Multiplatform – take the survey now! →
Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-datetime
0.6.1
commonJs
common
darwin
js
jvm
native
switch theme
kotlinx-datetime
kotlinx.
datetime
as
Time
Source()
as
Time
Zone()
at
Date()
at
Start
Of
Day
In()
at
Time()
Clock
Companion
System
Date
Period
Companion
Date
Time
Arithmetic
Exception
Date
Time
Period
Companion
Date
Time
Period()
Date
Time
Unit
Companion
Date
Based
Day
Based
Month
Based
Time
Based
Day
Of
Week
MONDAY
TUESDAY
WEDNESDAY
THURSDAY
FRIDAY
SATURDAY
SUNDAY
Day
Of
Week()
days
Until()
Fixed
Offset
Time
Zone
format()
Illegal
Time
Zone
Exception
Instant
Companion
is
Distant
Future
is
Distant
Past
iso
Day
Number
Local
Date
Companion
Formats
Local
Date
Time
Companion
Formats
Local
Time
Companion
Formats
minus()
Month
JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE
JULY
AUGUST
SEPTEMBER
OCTOBER
NOVEMBER
DECEMBER
Month()
months
Until()
number
offset
At()
offset
In()
period
Until()
plus()
Time
Zone
Companion
to
Date
Time
Period()
today
In()
to
Instant()
to
Java
Instant()
to
Java
Local
Date()
to
Java
Local
Date
Time()
to
Java
Local
Time()
to
Java
Period()
to
Java
Zone
Id()
to
Java
Zone
Offset()
to
JSDate()
to
Kotlin
Date
Period()
to
Kotlin
Fixed
Offset
Time
Zone()
to
Kotlin
Instant()
to
Kotlin
Local
Date()
to
Kotlin
Local
Date
Time()
to
Kotlin
Local
Time()
to
Kotlin
Time
Zone()
to
Kotlin
Utc
Offset()
to
Local
Date
Time()
to
NSDate()
to
NSDate
Components()
to
NSTime
Zone()
until()
Utc
Offset
Companion
Formats
Utc
Offset()
years
Until()
kotlinx.
datetime.
format
alternative
Parsing()
Am
Pm
Marker
AM
PM
by
Unicode
Pattern()
char()
Date
Time
Components
Companion
Formats
Date
Time
Format
Companion
Date
Time
Format
Builder
With
Date
With
Date
Time
With
Date
Time
Components
With
Time
With
Utc
Offset
Day
Of
Week
Names
Companion
format()
Format
Strings
In
Datetime
Formats
Month
Names
Companion
optional()
Padding
NONE
ZERO
SPACE
parse()
kotlinx.
datetime.
serializers
Date
Based
Date
Time
Unit
Serializer
Date
Period
Component
Serializer
Date
Period
Iso8601Serializer
Date
Time
Period
Component
Serializer
Date
Time
Period
Iso8601Serializer
Date
Time
Unit
Serializer
Day
Based
Date
Time
Unit
Serializer
Day
Of
Week
Serializer
Fixed
Offset
Time
Zone
Serializer
Instant
Component
Serializer
Instant
Iso8601Serializer
Local
Date
Component
Serializer
Local
Date
Iso8601Serializer
Local
Date
Time
Component
Serializer
Local
Date
Time
Iso8601Serializer
Local
Time
Component
Serializer
Local
Time
Iso8601Serializer
Month
Based
Date
Time
Unit
Serializer
Month
Serializer
Time
Based
Date
Time
Unit
Serializer
Time
Zone
Serializer
Utc
Offset
Serializer
kotlinx-datetime
Packages
kotlinx.datetime
Link copied to clipboard
common
commonJs
darwin
js
jvm
native
kotlinx.datetime.format
Link copied to clipboard
common
kotlinx.datetime.serializers
Link copied to clipboard
common