Arduino IDE with updated AVR-Libc.

This is not just an Arduino Library. This page links to full Arduino installations, upgraded to the latest AVR-Libc .

In addition to all the usual Arduino functionality, the upgrade includes...
The Arduino millis() timer is modified to provide an accurate time base, and the following functions are added to support the AVR-Libc time library
An examples sketch, "TimeTest", is included in the Examples. This sketch illustrates the use of most functions. For a complete description of all the AVR-Libc time functions, see the manual.
Version 1.6.6 uploaded 2015-11-04

Version 1.6.5 r5 uploaded 2015-8-31

Questions, rants and raves should be sent to...

The usual caveats apply...

THESE RELEASES ARE NOT OFFICIAL ARDUINO DISTRIBUTIONS, NOR ARE THEY ENDORSED BY THE OFFICIAL ARDUINO DEVELOPERS.

THESE RELEASES ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
There are some questions about the choice of Epoch used in the AVR-Libc time functions.
This page may help to answer those questions.

If you are looking for general avr-gcc time.h code, you should upgrade to AVR-Libc version 1.8.1 or greater.