ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Пятница
12 июля
426626 Топик полностью
rezident (23.07.2013 01:32, просмотров: 62) ответил Vladimir Ljaschko на В ИАРе время UNIX заканчивается не в 2038 году, а раньше ? Очевидное значение максимума 7fffffff дает 1901 год. В какую сторону движется время?! Точнее, что я делаю не так?
А почитать документацию какая-то религия не позволяет? :) 
time.h
There are two interfaces for using time_t and the associated functions time, ctime, 
difftime, gmtime, localtime, and mktime:
* The 32-bit interface supports years from 1900 up to 2035 and uses a 32-bit integer 
for time_t. The type and function have names like __time32_t, __time32, etc. 
This variant is mainly available for backwards compatibility. 
* The 64-bit interface supports years from -9999 up to 9999 and uses a signed 
long longfor time_t. The type and function have names like __time64_t, 
__time64, etc. 
The interfaces are defined in the system header file time.h.