Using the verb todayno which provides the number of days since the
beginning of 1800, write what you need to find the age today of a groundhog
born on 2002 2 2.
todayno 2014 9 2014
80418
2014 9 20 age 2002 2 2
12 7 18
His age is 12 years, 7 months and 18 days. Use simple J. Check that your
solution provides a correct answer for you birthday.
Have a pleasant weekend.
Linda
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm