to_unix


Description:

public int64 to_unix ()

Gives the Unix time corresponding to this, rounding down to the nearest second.

Unix time is the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC, regardless of the time zone associated with this.

Parameters:

this

a DateTime

Returns:

the Unix time corresponding to this