time alarms & avr-libc 1.8.1 time.h


I am kind of newbie and would appreciate your tips on the following:

I updated to avr-libc 1.8.1 to benefits from TimeLord integration (sunrise, sunset, timezone...)
and better time keeping.
It works great.

I need to add a scheduler to my program, that would perform actions at specific hours and dates (for example: every week day at 7:45...)

I found several examples on older versions (for exemple timeAlarms) but they seems not compatible with the new time.h of avr-libC 1.8.1.

I must confess i even didn't understand how to get the hours() minutes() and day() of that new time.h, except from parsing the char "00:00:00" which does not look elegant :o

Any advice ?

Thanks a lot,


I hope you find your answer, I’ve been bashing my head against this as well for the last few days as well.