Join Slack
Powered by
is there a way to get just the time, no date?
# announcements
m
MrNiamh
09/03/2020, 6:05 PM
is there a way to get just the time, no date?
r
Ruckus
09/03/2020, 6:25 PM
Sure, it's 18:25 UTC
m
MrNiamh
09/03/2020, 6:26 PM
👉 👉
MrNiamh
09/03/2020, 6:26 PM
this guy
n
Nir
09/03/2020, 6:28 PM
Get the current datetime and subtract the date portion?
Nir
09/03/2020, 6:29 PM
I'm not familiar with Kotlin datetime libraries but that's usually how you'd do it
m
Matiasdelbel
09/03/2020, 7:29 PM
I think you can use LocalDateTime from kotlinx.date
d
David Silva
09/04/2020, 8:21 AM
Can't use rely on the time only variants such as
java.time.LocalTime
?
2
Views
Open in Slack
Previous
Next