klyn.time.DateTime.timestamp
property
public readonly property timestamp as Timestamp:
Description

Returns the timestamp representation of this DateTime object.

Returns

The timestamp.

Example
import klyn.time

dateTime = DateTime(year=2023, month=10, day=5, hour=14, minute=30, second=45)
timestamp = dateTime.timestamp