DateTime():unix()
Returns the Unix timestamp (seconds since Unix epoch) of the DateTime
object.
Signature
unix(): number
Returns
number - The Unix timestamp in seconds.
Returns the Unix timestamp (seconds since Unix epoch) of the DateTime
object.
unix(): number
Returns
number - The Unix timestamp in seconds.