Re: Time and date
- From: Tor Rustad <tor_rustad@xxxxxxxxxxx>
- Date: 31 May 2007 07:01:17 -0700
On 31 Mai, 07:30, raam <muthuramantrip...@xxxxxxxxx> wrote:
Hello all,
I am using Turbo c 2.1.
We don't do specific compilers here.
I have reqritten the timer interrupt in PC as per my requirement.When
We don't do timer interrupts here.
I use gettime() and getdate()
in my program leter I am not getting current time and date.
We don't support non-standard C functions.
How to get the Time and Date directly from the CMOS.
We don't access CMOS here.
Short answer:
Easy on DOS, more difficult on a modern Windows box.
Check the IBM-PC spec on CMOS, depending on which OS you use, the "C
code" will vary, except beeing off-topic here.
The best place to ask, might be in an assembler programming group
(they can do C snippets as well).
--
Tor
.
- References:
- Time and date
- From: raam
- Time and date
- Prev by Date: Re: Online "flat" ISO C resource wanted.
- Next by Date: Re: I've read K&R, what now?
- Previous by thread: Re: Time and date
- Next by thread: problem on medians
- Index(es):