fromMillis

fun fromMillis(timestampInMillis: Long): SmpTimestamp

Creates a timestamp from a millisecond-based Unix epoch timestamp.

Return

A new SmpTimestamp instance converted to second precision.

Parameters

timestampInMillis

The timestamp in milliseconds.