Hi LInda,

Seems okay to me, since 

   (2001 3 1) diff 2001 2 28 NB. non leap year
1
   (2000 3 1) diff 2000 2 28 NB. leap year
2

   diff=: 13 :'(todayno x)-todayno y'
   (2005 3 1) diff 2004 2 28
367
   (2004 3 1) diff 2003 2 28
367
   NB. both these intervals contain 2004 2 29 because of a leap year

   (2003 3 1) diff 2002 2 28
366
   (2002 3 1) diff 2001 2 28
366

   NB. these intervals don't contain a leap day

Cheers, bob
   
On Sep 24, 2014, at 2:06 AM, Linda Alvord <[email protected]> wrote:

> Does this seem ok to you?

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to