Aller au contenu principal

DateTime():unix()

Returns the Unix timestamp (seconds since Unix epoch) of the DateTime object.

Signature

unix(): number

Returns

number - The Unix timestamp in seconds.