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

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

There is a newer version: 1.8.4
Show newest version
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