In SX Microcontrollers, SX/B Compiler and SX-Key Tool, mebikerider wrote: If you want a continuous count instead of a calendar date then maybe a DS1371 32-bit counter timekeeping chip would be a better fit for your project. Instead of having the DS1302 generate the full calendar date, then having your code turn the date parts into a count by applying a fairly elaborate set of calculations, the DS1371 could deliver you a continuous count in seconds, and you'd have a much simpler calculation to convert it to a Julian number of just a single division by the number of seconds per day, then adjust the result with an origin offset. David ---------- End of Message ---------- You can view the post on-line at: http://forums.parallax.com/forums/default.aspx?f=7&p=1&m=166212#m166373 Need assistance? Send an email to the Forum Administrator at forumadmin@parallax.com The Parallax Forums are powered by dotNetBB Forums, copyright 2002-2007 (http://www.dotNetBB.com)