kmongo / org.litote.kmongo.serialization / InstantSerializer / epochMillis

epochMillis

fun epochMillis(temporal: Instant): Long (source)

Returns the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this Temporal object.

Return
the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by this date.