Look for a database update that moves to 64 bit date formats. (And change your programs to agree with that.)Heater wrote:Well, in the case of my certificate creation problem if I had used a 64 bit machine there would have been no problem.
In general though this can be a software issue. What if you database has been storing dates in 32 bits since forever?
This ^Heater wrote:In general though this can be a software issue. What if you database has been storing dates in 32 bits since forever?
Indeed. Arduino millis() roll over every ~49 dayshippy wrote: And it is not just Linux which is affected. Anything which has a 'from some epoch' time will fail once that time exceed the size of the thing it is being stored in.
If anyone wants to wait for it, 64-bit time_t will fail at 15:30:08 on Sunday, 4 December 292,277,026,596 - approximately 292 billion years from now.hippy wrote:Heater wrote:Even if one moves to 64-bit there will still be a problem in the future. A long time off admittedly. But it's that 'too far away to worry about' and 'this code won't be running then anyway', which gets us into a mess in the first place. I agree; 64-bit data is the fix, for now. But it's not the perfect fix; it's just batting the problem far enough into the future that we don't care. Philosophically, if we are learning anything, we shouldn't be repeating the mistakes of the past.Wait a minute, the maximum positive number you can represent in a signed 64 bit integer is 9223372036854775807
You have more pressing needs, such as trump or clinton as POTUSMarkHaysHarris777 wrote:Ladies and gentlemen, its only 22 years away... and stuff is going to start breaking before it gets here... and 64 bit architecture is not going to cut it; no way.
Global governments need to be working on two problems right now 1) global climate shift (or whatever you want to call it, its REAL... and 2) the 2038 problem ITS REAL TOO... and neither one is going away on its own...
So, when it gets here (should I live so long, Lord willing) I'm just going to slide my puck across that shuffle board and laugh my @ss off.
Hint: ... we need to get started now.
I've also been bitten by this bug,Heater wrote:At the other end of the scale Unix time runs out at 03:14:07 UTC on 19 January 2038.
This may seem far away but this issue already bit me a few years ago.
I was creating self-signed certificates for a VPN. They did not work. There was no clear error logged as to why.
Users browsing this forum: No registered users and 3 guests