I had to reinstall with 32-bit to use a document scanner, so this became a problem for me. What I did was punch my 2074 date into a online converter, and use that generated date:
- DEATH_DATE=`date --date='9 August 2074' +%s`
+ # DEATH_DATE=`date --date='9 August 2074' +%s`
+ DEATH_DATE="3300998400"
But seriously, you could probably shell out to something else. Or you could change the output—it doesn’t have to be in seconds or minutes. For example, you could call date to get the current year, and subtract that against 2074 or whatever.
Dates that far into the future don’t seem to work with the date on 32-bit Linux.
Fun idea otherwise. You should report back in a month or so if you’re still using it.
I had to reinstall with 32-bit to use a document scanner, so this became a problem for me. What I did was punch my 2074 date into a online converter, and use that generated date:
It might have an opposite effect to what is intended since the number would simply be too large.
People still use 32-bit OSs?
But seriously, you could probably shell out to something else. Or you could change the output—it doesn’t have to be in seconds or minutes. For example, you could call
date
to get the current year, and subtract that against 2074 or whatever.