Hi, is there a better way to turn datetime into unix epoch seconds? unix_time({Date,Time}) -> UnixEpoch = {{1970,1,1},{0,0,0}}, calendar:datetime_to_gregorian_seconds({Date,Time}) - calendar:datetime_to_gregorian_seconds(UnixEpoch). Gregorian seconds down to year 0 might be a costly calculation I though. Thanks! Henning