Talk:Day of the week: Difference between revisions

Content added Content deleted
(python&java run ok (almost)everywhere)
Line 9: Line 9:


:The date is internally stored as seconds from the year 1970 (more or less). I've computed (2038-1970)*365*24*3600, obtaining 2144448000; now, we are near the limit for a 32bit signed integer... but not to the limit of a 64bit signed integer. I take a note for the day I will ask myself is it is worth buying a 64bit hardware :) About the 2121, 64bit systems still can :) With a 64bit signed int, you can really go a lot further (I wonder if you thought about a limit in the way the day is found) --[[User:ShinTakezou|ShinTakezou]] 15:22, 12 December 2008 (UTC)
:The date is internally stored as seconds from the year 1970 (more or less). I've computed (2038-1970)*365*24*3600, obtaining 2144448000; now, we are near the limit for a 32bit signed integer... but not to the limit of a 64bit signed integer. I take a note for the day I will ask myself is it is worth buying a 64bit hardware :) About the 2121, 64bit systems still can :) With a 64bit signed int, you can really go a lot further (I wonder if you thought about a limit in the way the day is found) --[[User:ShinTakezou|ShinTakezou]] 15:22, 12 December 2008 (UTC)

::What I'm referring to is that 2100 is not a leap year. There may be software out there that miscalculates this, and therefore gets the dates wrong. --[[User:Rldrenth|Rldrenth]] 16:17, 12 December 2008 (UTC)


==Ada program==
==Ada program==