We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8347700 commit 5be7784Copy full SHA for 5be7784
README.md
@@ -137,7 +137,7 @@ by converting it to `LocalDateTime` and taking its `date` property.
137
```kotlin
138
val now: Instant = Clock.System.now()
139
val today: LocalDate = now.toLocalDateTime(TimeZone.currentSystemDefault()).date
140
-// or more short
+// or shorter
141
val today: LocalDate = Clock.System.todayIn(TimeZone.currentSystemDefault())
142
```
143
Note, that today's date really depends on the time zone in which you're observing the current moment.
0 commit comments