Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uint32 error for timestamp storage ? #271

Open
Senshii opened this issue May 23, 2018 · 1 comment
Open

uint32 error for timestamp storage ? #271

Senshii opened this issue May 23, 2018 · 1 comment

Comments

@Senshii
Copy link
Contributor

Senshii commented May 23, 2018

Hello,
In your lessons you say that about time stored in uint32 type:
"Note: We chose not to prevent the year 2038 problem... So don't need worry about overflows on readyTime. Our app is screwed in 2038 anyway ;)".

It seems incorrect to me, with a uint32 you're good until february 2106 (2^32 = 4294967296 -> 7th february 2106 at 7:28:16) , isn'it ?

Am I wrong ?

@elio-bteich
Copy link

Yes, you are right.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants