Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Method

FromUnixTimeTicks

static func FromUnixTimeTicks(ticks: long) -> Instant

Declaring type: Instant
Module: System.Time
Assembly: System.Runtime.dll
Source file: Instant.rvn

Creates an instant from signed 100-nanosecond ticks since the Unix epoch.

Parameters

Name Type Description
ticks Int64 The number of 100-nanosecond ticks.

Return value

Instant