And the inverse simply is DATETIME()-DATETIME(1970, 1, 1, 0, 0, 0)
Only having a date (D) instead of a datetime (T) you simply turn the date into a datetime first via DTOT, as Irwin suggests, so DTOT(DATE())-DATETIME(1970, 1, 1, 0, 0, 0) gives you the unixt timstamp of today, 0 am midnight.
And as said in the other thread, that doesn't account for time zones, a unix timestamp is not bound to GMT, for example, as you can see here:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.