Re: Calendar Info Needed

new topic     » goto parent     » topic index » view thread      » older message » newer message

Hmm, good question.

SHORT ANSWER: I don't know for sure.

LONG ANSWER: Well, I'm not sure if it is stored in the ROM or not, that
sounds reasonable to me.  But where ever it is I don't think that the
date/day and all is stored there. I believe that the only thing that the
internal battery has to power is a little counter that counts the number of
seconds since some date in the past (probably Jan 1, 1900).  All the
additional information is probably CALCULATED from that single number at
boot time and stored somewhere in RAM. I'm pretty sure someone here has more
facts about it than I.

Lewis Townsend




Original message:

>I've a question for you: Does anybody know how the calendar in a PC, say
>windows
>9x/NT works? I mean, how does the computer know the date/day? I know they
>use the
>battery to "remember".  But where does the info stored, and in what format?
>
>If you don't know what am I asking for, let me put it this way:
>Pick a digital watch with date function, the manufacturer said its calendar
>is
>"programmed" to year 2030, for example. That means the watch knows exactly
>the
>day for ANY given date between now and Dec 31, 2030. It knows which year is
>a
>leap year, date of week, and what's the day for, let's say Tuesday, June
>15,
>1999.
>
>If you're using a GUI now, there's a date available to you to access
>somewhere.
>How are these info stored/programmed in a computer? Is it programmed
>somewhere
>in the ROM?  Is it possible to access it with Euphoria?
>


_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu