Time and Date from RTC in C

"Philip Shaw" <[email protected]> Fri, 11 Jun 2004 17:37:28 +0100
Newsgroups gmane.comp.hardware.microcontrollers.tini
Message-ID <023801c44fd2$623651b0$0700a8c0@PhilipM60>
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