Add a simple gettimeofday() implementation. If you find my math laughable, then please fix it. :)
We don't have an OS underneath constantly correcting the time math, so this will drift away from RTC fairly quickly. Its good for small intervals of time, but if you need to figure out what time it is, use the rtc_read_clock() function (hm - mabye I should rename that localtime?)
Also, add in a NVRAM function to make sure we get a stable date value.
Please review and comment.