Re: Time and Date from RTC in C
"Kris Ardis" <Kristopher.Ardis-6tN4nzCoH/[email protected]> Tue, 15 Jun 2004 08:04:37 -0500
| Newsgroups | gmane.comp.hardware.microcontrollers.tini |
|---|---|
| Message-ID | <003e01c452d9$506b59d0$764000b4@kardis> |
We don't currently provide anything like this, but could probably add some simple date conversion routines to the libraries. Watch the C library website for it within the next few days. Kris ----- Original Message ----- From: "Philip Shaw" <[email protected]> To: <tini-6tN4nzCoH/[email protected]> Sent: Friday, June 11, 2004 11:37 AM Subject: [TINI]Time and Date from RTC in C > Dear List, > > Does anyone know of any code to give the Time and Date from the RTC on the > tini system when using C? > > I would need a calendar to calculate the date and time from the seconds > value given from the RTC. (allowing for leap years and months of 28/29 30 > and 31 days!) > > have I missed a C function or Libary? > > Any ideas? > > Thanks > > philip > > > _______________________________________________ > TINI mailing list > TINI-6tN4nzCoH/[email protected] > To UNSUBSCRIBE, edit your profile, or see list archives: > http://lists.dalsemi.com/mailman/listinfo/tini > _______________________________________________ TINI mailing list TINI-6tN4nzCoH/[email protected] To UNSUBSCRIBE, edit your profile, or see list archives: http://lists.dalsemi.com/mailman/listinfo/tini