and should avoid any OS date limitations such as the year 2038 bug.
as gmtime_r() on the systems where that is defined.