Raised This Month: $32 Target: $400
 8% 

Year 2038 problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-12-2022 , 17:10   Year 2038 problem
Reply With Quote #1

Discovered it while making a VIP Expire system privately. Searched the date on the google and found this information: https://en.wikipedia.org/wiki/Year_2038_problem

Well... interesting
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-12-2022 at 17:11.
EFFx is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-13-2022 , 17:26   Re: Year 2038 problem
Reply With Quote #2

Yeah, known issue, by then hopefully everything will be running on 64 bits.
__________________
Bugsy is online now
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-13-2022 , 19:07   Re: Year 2038 problem
Reply With Quote #3

I've never heard of this issue before, I knew that there's a max number supported but not a date. Discovered it by accident, marks the game's last date.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo
EFFx is offline
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 03-13-2022 , 20:14   Re: Year 2038 problem
Reply With Quote #4

You'd probably only be aware if you've worked with and understand how Unix timestamps work. Basically once we reach the largest value in seconds that can be stored in a 32-bit signed integer, you are at a dead-end from a timestamp/time tracking perspective. It's 'easy' to overcome the issue, but requires work nonetheless. Either use an unsigned 32-bit integer or ideally a 64 bit integer: signed or unsigned doesn't matter as the world will probably end before we reach the boundary/cap of a 64 bit signed integer.

https://ximalas.info/2015/03/10/when..._t-really-end/
Code:
When we gather all the bits and pieces, the end date might be December 4th, 292,277,026,596 AD, at 20:10:55 UTC. Or maybe it’s December the 3rd, or the 5th.
__________________
Bugsy is online now
EFFx
Veteran Member
Join Date: Feb 2016
Location: Sγo Paulo, Brasil
Old 03-14-2022 , 18:12   Re: Year 2038 problem
Reply With Quote #5

Interesting thing to acknowledge.
__________________
• Ranking System • AutoMix 5vs5 System
• Web Ban System • Plugins for free

____________________________________________
For private works:
• Discord: EFFEXo#8850 • Steam: EFFEXo

Last edited by EFFx; 03-15-2022 at 18:48.
EFFx is offline
TheDS1337
Veteran Member
Join Date: Jun 2012
Old 03-22-2022 , 18:15   Re: Year 2038 problem
Reply With Quote #6

Quote:
Originally Posted by Bugsy View Post
Yeah, known issue, by then hopefully everything will be running on 64 bits.
Well, if we don't get the mess of a world war 3, that should be more than enough )
TheDS1337 is offline
kww
Senior Member
Join Date: Feb 2021
Location: Russia
Old 03-24-2022 , 11:57   Re: Year 2038 problem
Reply With Quote #7

It was very interesting for me to discover this, too
I learned this from a random 4-5 years ago video .
__________________
Now working on: Side Weapons (Very lazy, tbh)
Avatar source: https://bit.ly/3BAk19g
Discord: kww#9951

Last edited by kww; 03-24-2022 at 11:59.
kww is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 17:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode