On 5/9/07, Alex Rufon <[EMAIL PROTECTED]> wrote:
Is there a "better" way to do this? Is there a primitive that I could
have used?

I think I would have used something like this:

  require 'dates'
  years=: + (>&{."1 # ]) (366 [EMAIL PROTECTED] [) [EMAIL PROTECTED] 1 1 
todayno@,~ ]
 10 years 2007

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

Reply via email to