Date.ToUnixTime (gb.util)

Static Function ToUnixTime ( Date As Date ) As Long

Convert the specified Date to a Unix timestamp, i.e. a number of seconds since January, 1st 1970 at UTC.