Searching \ for '[PIC:] Leap Year Code good for 400 Years?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: techref.massmind.org/techref/microchip/devices.htm?key=pic
Search entire site for: 'Leap Year Code good for 400 Years?'.

Exact match. Not showing close matches.
PICList Thread
'[PIC:] Leap Year Code good for 400 Years?'
2006\07\26@231703 by Brooke Clarke

flavicon
face
Hi Jinx: That's an interesting idea. I need to think about how to
integrate a table with the Day Of Week function. Thanks, Brooke Clarke

2006\07\27@001507 by Bob Axtell

face picon face
Brooke Clarke wrote:
> Hi Jinx: That's an interesting idea. I need to think about how to
> integrate a table with the Day Of Week function. Thanks, Brooke Clarke
>  
There are some complexities involved. Good luck.

--Bob

2006\07\27@002938 by Jinx

face picon face
>  need to think about how to integrate a table with the Day Of
> Week function

At some point you're testing the year aren't you, so I think I'd start
by testing <2:1:0> for b'100' and if that passes, try comparing the
year against the table of years divisible by 400

There's one further correction to make in 8,000 years time too

http://en.wikipedia.org/wiki/Leap_year

More... (looser matching)
- Last day of these posts
- In 2006 , 2007 only
- Today
- New search...