Is there a DateToUnix function? I want to use epoch instead of a timestamp

I see DateFromUnix function. Is there a DateToUnix function? Essentially I am asking to use epoch instead of a timestamp.

Please use this formula:
DatePart(‘epoch’, [ts])