gettimeofday() returns a timestamp that is 8 years minus 1 hour behind. That suspiciously sounds like UNIX timestamp vs. Amiga timestamp with incorrect DST correction. And looking at sources/nix/time/gettimeofday.c, it just uses GetSysTime, without any correction, does DST correction, but not apply the offset of 252460800.
gettimeofday() returns a timestamp that is 8 years minus 1 hour behind. That suspiciously sounds like UNIX timestamp vs. Amiga timestamp with incorrect DST correction. And looking at sources/nix/time/gettimeofday.c, it just uses GetSysTime, without any correction, does DST correction, but not apply the offset of 252460800.