tseisel
04/10/2022, 9:06 AMPaul Woitaschek
04/10/2022, 9:52 AMephemient
04/10/2022, 9:53 AMArun Joseph
04/10/2022, 8:13 PMephemient
04/10/2022, 8:14 PMArun Joseph
04/11/2022, 7:59 AMfun getCurrentTimeStamp(): String {
// Formatting currentTime with java.time.*
val formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd-HH-mm-ss-SSS")
return formatter.format(
currentTime.toJavaInstant())
}
private val currentTime
get() = Clock.System.now()