On 19 January 2038 after 03:14:07 a lot of scripts will stop working due to a unix date being a higher integer than a 32 bit signed integer.
Read up here: https://en.wikipedia.org/wiki/Year_2038_problem
Eg:
here is a well known database table:
this will fail as it saves php time() into bgdate as an INT
You can test this out for yourself by trying to insert:
2147546754 into bgdate
So preparing yourself for this bug, could save you a headache in the future ... instead of lots of your scripts all failing at once.
Read up here: https://en.wikipedia.org/wiki/Year_2038_problem
Eg:
here is a well known database table:
Code:
CREATE TABLE `ibwf_blogs` ( `id` int(100) NOT NULL, `bowner` int(100) NOT NULL DEFAULT 0, `bname` varchar(50) NOT NULL, `btext` blob NOT NULL, `bgdate` int(100) NOT NULL DEFAULT 0 ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
You can test this out for yourself by trying to insert:
2147546754 into bgdate
So preparing yourself for this bug, could save you a headache in the future ... instead of lots of your scripts all failing at once.
Comment