core / io.islandtime / DateTime / fromSecondOfUnixEpoch

fromSecondOfUnixEpoch

(iosArm64, iosX64, jvm, macosX64, tvosArm64, tvosX64, watchosArm64, watchosX86) fun fromSecondOfUnixEpoch(second: Long, nanosecond: Int = 0, offset: UtcOffset): DateTime

Creates a DateTime from the second of the Unix epoch at offset and optionally, the nanosecond of the second.