calculate with date


+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Pedro Pinto's Avatar
    Pedro Pinto Guest

    Question calculate with date

    Hello All

    In my circuit I need to calculate with date:
    example:calculate the current date comparing with one previous date
    and if the previous date is more than 45 days ago then light one led

    I have in the board the RTC DS1307 device
    Have anyone a example code how can I do that with a PIC


    Thanks for any help

    Best Regards

    Pedro

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762

    Default

    Pedro,

    everything you ever wanted to know about date/time conversions (and even more) can be found Here
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



Similar Threads

  1. calculate time between pulses
    By hell_pk in forum mel PIC BASIC Pro
    Replies: 19
    Last Post: - 20th October 2007, 16:49
  2. 8583 rtc date problem
    By crazyhellos in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th February 2007, 16:28
  3. Beware of DS1302ZN with date code 9945A3
    By Darrel Taylor in forum General
    Replies: 6
    Last Post: - 30th September 2006, 18:53
  4. calculate var Byte's and var Word's
    By Pedro Pinto in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 31st October 2005, 10:29
  5. anyone knows how to calculate muslim prayer time?
    By luqman83salleh in forum mel PIC BASIC Pro
    Replies: 10
    Last Post: - 6th September 2004, 09:54

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts