• Date and Time
    Hi I need to compare two different date&time. Anyone ho have any app note on this?
  • date/time as string
    I have the following code that sets the date & time: date_time_get_current_time(¤t_time); if(current_time.hours > 4 && current_time.hours <10) { When the device boots, time will be set 0 (2017...
  • Display TIME and DATE
    Could some body in this forum advise me with a simple code on how to diplay DATE and TIME using printf() statement. I tried cut and paste the one posted here, and it did not even compile ... whole...
  • Display Time and Date
    Here is the code I found on Keil APP note and when I used it, it did not even compile !! Yes. There are numerous ways to associate the time and date of a routine with that routine. Most of these methods...
  • Reading my Dates ( DS1642 )
    The DS1642 is an RTC + NVRAM The information is in centain memory locations in bcd format. Ok , so i made a simple program to display the minutes : #include <reg51.h%gt; xdata minutes _at_...