Why does this stop working for values much less than 2^63-1? (Tested on a Mac.)

date -r $(bc -e '2^55')

@jon I tried to test this out on Debian Linux before digging out my MacBook... bc on Debian doesn't even have the -e parameter.

Date also has different sources between macOS and Debian Linux. So, I would not be surprised if it behaves differently than a modern BSD.

@doofus_canadensis 2^55 seconds is (very) roughly 2^64 milliseconds? So maybe it converts to milliseconds during the calculation and that overflows?
@jon oh, that seems like a plausible theory.