Overview
>
klyn.time
>
Timestamp
>
Timestamp
Version 0.1.2
Overview
Index
Tree
Deprecated
klyn.time.Timestamp.Timestamp
constructor
public Timestamp(seconds as Double = 0.0):
Description
Constructs a Timestamp object with a given value.
Parameters
value The timestamp value in seconds since the Epoch. ``` import klyn.time timestamp = Timestamp(1693459200) print(timestamp.toString()) # Output: Timestamp(1693459200.0) ```