Well, Windows and ReactOS ARE using unix time. Not in the kernel, but in
the crt.
And actually this IS an issue on reactos at this time.

Windows has solved the issue, by adding 64 bit time_t support, which is
used by default and can only be overridden with defining
USE_32BIT_TIME_T when compiling your software.
Our crt headers currently still contain a hack that defines this by
default, because we don't have any 64bit time_t support in out crt, at
least not in trunk.
I recently added a new time implementation to the amd64 branch that
supports 64 bit time_t. It should work, but it's not fully tested.

Regards,
Timo

Javier Agustěn Fernŕndez Arroyo schrieb:
> lol
> far enough to forget about it :-P
> thanks for the replies anyway :)
>
> On Sun, Apr 12, 2009 at 7:12 AM, Alex Ionescu <[email protected]> wrote:
>
>   
>> Just to make the point clear: It will overflow on January 1st, 584942.
>>
>> Best regards,
>> Alex Ionescu
>>
>>
>>
>> On Sat, Apr 11, 2009 at 10:08 PM, Alex Ionescu <[email protected]>
>> wrote:
>>     
>>> Windows NT time is specified as the number of 100 nanosecond intervals
>>> since January 1, 1601
>>>
>>> Best regards,
>>> Alex Ionescu
>>>
>>>
>>>
>>> On Sat, Apr 11, 2009 at 8:13 PM, King InuYasha <[email protected]>
>>>       
>> wrote:
>>     
>>>> Then what DOES NT use to calculate time?
>>>> On Sat, Apr 11, 2009 at 9:34 PM, Alex Ionescu <[email protected]>
>>>>         
>> wrote:
>>     
>>>>> Again, since Ged wasn't clear: This is NT. NT does not use Unix time.
>>>>>
>>>>> Best regards,
>>>>> Alex Ionescu
>>>>>
>>>>>
>>>>>
>>>>> On Sat, Apr 11, 2009 at 6:52 PM, Sylvain Petreolle <
>>>>>           
>> [email protected]>
>>     
>>>>> wrote:
>>>>>           
>>>>>> I also noticed a funny thing browsing the year 2038 website :
>>>>>> http://www.2038bug.com/demo.html shows the first negative date given
>>>>>>             
>> by
>>     
>>>>>> a
>>>>>> negative int32 number.
>>>>>>
>>>>>> -2147483648, Fri Dec 13 20:45:52 1901
>>>>>>
>>>>>> Kind regards,
>>>>>> Sylvain Petreolle
>>>>>>
>>>>>> ________________________________
>>>>>> De : Ged <[email protected]>
>>>>>> Ŕ : ReactOS Development List <[email protected]>
>>>>>> Envoyé le : Dimanche, 12 Avril 2009, 1h19mn 26s
>>>>>> Objet : Re: [ros-dev] Year 2038 problem
>>>>>>
>>>>>> This is NT, not unix (thankfully)
>>>>>>
>>>>>>
>>>>>>
>>>>>> From: [email protected] [mailto:
>>>>>>             
>> [email protected]]
>>     
>>>>>> On
>>>>>> Behalf Of Javier Agustěn Fernŕndez Arroyo
>>>>>> Sent: 12 April 2009 00:02
>>>>>> To: ReactOS Development List
>>>>>> Subject: [ros-dev] Year 2038 problem
>>>>>>
>>>>>>
>>>>>>
>>>>>> Hi all,
>>>>>> i hope you have already taken into account this:
>>>>>>
>>>>>> http://en.wikipedia.org/wiki/Year_2038_problem
>>>>>>
>>>>>> Regards,
>>>>>> Javier
>>>>>>
>>>>>> _______________________________________________
>>>>>> Ros-dev mailing list
>>>>>> [email protected]
>>>>>> http://www.reactos.org/mailman/listinfo/ros-dev
>>>>>>
>>>>>>
>>>>>>             
>>>>> _______________________________________________
>>>>> Ros-dev mailing list
>>>>> [email protected]
>>>>> http://www.reactos.org/mailman/listinfo/ros-dev
>>>>>           
>>>> _______________________________________________
>>>> Ros-dev mailing list
>>>> [email protected]
>>>> http://www.reactos.org/mailman/listinfo/ros-dev
>>>>
>>>>
>>>>         
>> _______________________________________________
>> Ros-dev mailing list
>> [email protected]
>> http://www.reactos.org/mailman/listinfo/ros-dev
>>
>>     
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Ros-dev mailing list
> [email protected]
> http://www.reactos.org/mailman/listinfo/ros-dev

_______________________________________________
Ros-dev mailing list
[email protected]
http://www.reactos.org/mailman/listinfo/ros-dev

Reply via email to