Finding days past based on DS1307 Realtime Clock Module and Time library


i'm using ds1307rtc library  http://www.pjrc.com/teensy/td_libs_ds1307rtc.html in conjunction rtc module , time library. i'm trying determine number of days have past, , i'm wondering best approach doing is.  can current day of month , subtract start day, complication comes fact different months different lengths. there easy way this?

days have "past" since what? storing values somewhere?

outside of that, it's math.
make array store number of days in each month, them & add together.


Arduino Forum > Using Arduino > Project Guidance > Finding days past based on DS1307 Realtime Clock Module and Time library


arduino

Comments

Popular posts from this blog

opencv3, tbb and rasp pi 2 - Raspberry Pi Forums

small ethernet problem - Raspberry Pi Forums

Multithumb configuration params not working? - Joomla! Forum - community, help and support