Year 2038 problem

in unix •  6 years ago 

UNIX time is the number of seconds elapsed from 1 January 1970 to the present time. The Unix timestamp at the time of writing this is '1533004322'. This is a signed 32-bit integer, which has a maximum storage capacity of 2^31-1 = 2,147,483,647. That is 2,147,483,647 seconds after 1 January 1970. Due to the insufficient capacity of the chosen storage unit, this is highly likely to go crazy on 03:14:08 UTC on Tuesday, 19 January 2038. After that, the counter runs out of usable digit bits, flips the sign bit instead, and reports a maximally negative number (continuing to count up, toward zero). Resulting erroneous calculations on such systems are likely to cause problems for users and other relying parties. There is no universal solution to this problem. Even if we change the datatype to an unsigned integer, all the dates before 1 January 1970 will be represented in negative numbers.
Year_2038_problem.gif

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

Hey @amalshaji, great post! I enjoyed your content. Keep up the good work! It's always nice to see good content here on Steemit! Cheers :)

Congratulations @amalshaji! You received a personal award!

1 Year on Steemit

Click here to view your Board

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @amalshaji! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!