All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.fr.acinq.lightning.utils.time.kt Maven / Gradle / Ivy

package fr.acinq.lightning.utils

import kotlinx.datetime.Clock

fun currentTimestampMillis(): Long = Clock.System.now().toEpochMilliseconds()

fun currentTimestampSeconds(): Long = currentTimestampMillis() / 1000




© 2015 - 2024 Weber Informatics LLC | Privacy Policy