Y2038 - replace posix strftime with sprintf