Menu
×
Home
JvaScript
Node.js
Next.js
Flutter
Swift
NestJS
Python
PyTorch
Sample Data
FastAPI
PostgreSQL
MySQL
MongoDB
Mongoose
SQLAlchemy
Sling
Academy
Dark Mode is ON
Home
/
Kotlin
/
Working with date & time in Kotlin
Working with date & time in Kotlin
This series of tutorials focuses on topics about date and time in Kotlin.
1
How to Work with Date and Time in Kotlin
2
Introduction to Kotlin’s `LocalDate`, `LocalTime`, and `LocalDateTime`
3
Formatting Dates in Kotlin Using `DateTimeFormatter`
4
Parsing Strings into Dates in Kotlin
5
Converting Dates to Strings in Kotlin
6
How to Add or Subtract Days, Months, and Years in Kotlin
7
Calculating the Difference Between Two Dates in Kotlin
8
Working with Time Zones in Kotlin
9
Converting UTC to Local Time and Vice Versa in Kotlin
10
Using `Instant` for Timestamps in Kotlin
11
How to Format Time with Hours, Minutes, and Seconds in Kotlin
12
Using `Duration` to Measure Time Intervals in Kotlin
13
How to Parse ISO 8601 Date-Time Strings in Kotlin
14
Converting Between `Date` and `LocalDateTime` in Kotlin
15
Calculating Age from Birthdate in Kotlin
16
How to Get the Current Date and Time in Kotlin
17
Using `ChronoUnit` for Precise Time Calculations in Kotlin
18
Finding the Day of the Week for Any Date in Kotlin
19
How to Determine if a Year is a Leap Year in Kotlin
20
Working with `Period` to Represent Date Differences in Kotlin
21
Using Kotlin to Format Dates for Internationalization
22
Converting Epoch Time to Readable Date-Time in Kotlin
23
How to Use Kotlin Coroutines for Scheduling Time-Based Tasks
24
Formatting Dates in Custom Patterns with Kotlin
25
Parsing Multiple Date Formats in Kotlin
26
How to Round Time to the Nearest Minute or Hour in Kotlin
27
Using `Clock` for Mocking Time in Kotlin Tests
28
Converting Date-Time Between Different Time Zones in Kotlin
29
Sorting a List of Dates in Kotlin
30
Finding the Start and End of a Day in Kotlin
31
How to Truncate Time to Remove Seconds or Milliseconds in Kotlin
32
Combining Date and Time into a Single Object in Kotlin
33
Splitting a Time Duration into Hours, Minutes, and Seconds in Kotlin
34
How to Calculate Elapsed Time in Kotlin
35
Converting a Timestamp into a Readable Format in Kotlin
36
Generating Timestamps for Logging in Kotlin
37
How to Compare Two Dates or Times in Kotlin
38
Validating Date Formats in Kotlin
39
Extracting Year, Month, and Day from a Date in Kotlin
40
Working with Week Numbers and Weekdays in Kotlin
41
Converting Between Different Date Libraries (e.g., `Date` and `ZonedDateTime`)
42
Using Kotlin to Create Countdown Timers with Dates and Times
43
Handling Date-Time Errors and Exceptions in Kotlin
44
Best Practices for Date-Time Calculations in Kotlin Applications
45
How to convert date time to time ago in Kotlin