You know, when I was looking for existing code to generate the calendar,
I never realized that I could have just used the todate and the todayno
functions. It didn't clicked! :D

Thanks also for the info on leapyears. I just assumed it was a modulus
of 4. :)

Alexander M. Rufon
TECHNICAL CONSULTANT ||
Integrated Solutions Technology
+63 (2) 8156801 local 357


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of R.E. Boss
Sent: Wednesday, May 09, 2007 9:23 PM
To: 'Programming forum'
Subject: RE: [Jprogramming] Generating Calendar Days

And, with 'dates', if you ignore the leap years
        oneyear=: 3 : 'todate (i.365)+todayno y,1 1'
is equivalent:
   (oneyear-:oneYear) 2007
1

Whether a year is a leap year you can find in
http://www.jsoftware.com/pipermail/general/1999-October/002453.html 


R.E. Boss


> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED] [mailto:programming-
> [EMAIL PROTECTED] Namens Brian Schott
> Verzonden: woensdag 9 mei 2007 14:31
> Aan: Programming forum
> Onderwerp: Re: [Jprogramming] Generating Calendar Days
> 
> Alex,
> 
>       Have you tried  "load 'dates'" ? I have used the
> verb calendar from there successfully.
> 
> 
> 
> (B=)
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm

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

Reply via email to