What about DateTimeToTimeStamp and TimeStampToDateTime? Two LongInt or make one Int64, if you prefer one number.
Interesting suggestion. But I want to have only one number (the shorter possible). No need milliseconds precision by now.
But because DateTimeToStr only shows the truncated (to seconds) of a TDateTime you could end up with a difference if you don't truncate it the same way for DateTimeToUnix.
Yes. I also think it's deserable DateTimeToUnix() must works the same way DateTimeToStr() works, and in general, every Date-Time function in Lazarus.
But the main problem is that DateTimeToUnix() is not reversible.
