How to convert datetime to an integer Unix format for datetime using formula
Check out this topic, it contains the formula you can use: Datetime to unix seconds?