I tested this with the library from TFA, and it fails too :(
>>> from whenever import UTCDateTime
>>> (UTCDateTime(2024, 1, 1) - UTCDateTime(1974, 1, 1)).total_seconds() % 86400
0.0