klyn.time.DateTime.fromTimestamp
method
public static fromTimestamp(timestamp as Timestamp, timeZone as TimeZone = TimeZone.UTC) as DateTime:
DescriptionConstructs a DateTime object from a timestamp.
import klyn.time
timestamp = Timestamp.now
dateTime = DateTime.fromTimestamp(timestamp)
ReturnsA new DateTime object. ``` import klyn.time timestamp = Timestamp.now dateTime = DateTime.fromTimestamp(timestamp) ```