stdcerr
stdcerr

Reputation: 15658

stay compatible past 2038

I'm writing a piece of code that I want to work even past 2038. I need to store an epoch timestamp in a map and was wondering if I am compatible going forward when I use a long long instead of an int to store tiume(NULL) or how else I best go about this? I'm aware that even using an unsigned int would give nme plenty of more room - but is that or long long the best way to go about it?

Upvotes: 0

Views: 131

Answers (0)

Related Questions