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 a20f501 commit 8d26763Copy full SHA for 8d26763
README.md
@@ -140,7 +140,7 @@ by converting it to `LocalDateTime` and taking its `date` property.
140
```kotlin
141
val now: Instant = Clock.System.now()
142
val today: LocalDate = now.toLocalDateTime(TimeZone.currentSystemDefault()).date
143
-// or more short
+// or shorter
144
val today: LocalDate = Clock.System.todayIn(TimeZone.currentSystemDefault())
145
```
146
Note, that today's date really depends on the time zone in which you're observing the current moment.
0 commit comments