Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If time_t is unsigned, how do times before the unix epoch get represented?


They don't, much like they already do not. 32-bit time_t has always been finite, and 1970 was a long, long time ago. (See "in some senses" in my earlier comment.)


1970 is not all that long ago when there are stil plenty of people born before that alive today. People with the attitude you are displaying should be kept far far away from time handling code.


>1970 was a long long time

I thought it was a time_t! (≧◡≦)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: