Converts a date into epoch time. Takes one mandatory argument date of type date. Returns
the corresponding Unix timestamp, in whole seconds since the Unix epoch, as an integer.
The result is returned as a plain value, not wrapped in an object.
