Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/23/04 20:25
Read: times


 
#69063 - routines for date time arithmetic?
I would like a set of routines that would work with the 8051 chip (e.g. Cygnal C8051F3330-TB) that could calculate the time between two days. For example, between April 23, 2004 and June 4, 2001. Or between 4/23/04 15:16:04 and 6/4/01 21:03:14. Do you know of any routines that do that? This used to be a real pain in the neck in Lotus 123 (circa 1996), but now in Excel 2004(for example) you can easily get day of week, difference in dates, difference in time.

It is a tedious calculation and fraught with errors, eg. leap years. Exact answers are not needed, but good approximations would help, especially if it is in subroutines.

As I envision it, it would be a routine that could take two locations of memory with the date/time in each, and come up with a number of days or seconds or years/months/days. (etc.)
Thanks



List of 14 messages in thread
TopicAuthorDate
routines for date time arithmetic?            01/01/70 00:00      
   RE: routines for date time arithmetic?            01/01/70 00:00      
      RE: routines for date time arithmetic?            01/01/70 00:00      
   RE: routines for date time arithmetic?            01/01/70 00:00      
   RE: routines for date time arithmetic?            01/01/70 00:00      
      RE: routines for date time arithmetic?            01/01/70 00:00      
         RE: routines for date time arithmetic?            01/01/70 00:00      
   RE: routines for date time arithmetic?            01/01/70 00:00      
      RE: routines for date time arithmetic?            01/01/70 00:00      
         RE: routines for date time arithmetic?            01/01/70 00:00      
            RE: routines for date time arithmetic?            01/01/70 00:00      
   RE: routines for date time arithmetic?            01/01/70 00:00      
   RE: routines for date time arithmetic?            01/01/70 00:00      
   RE: routines for date time arithmetic?            01/01/70 00:00      

Back to Subject List