<div dir="ltr"><div>This is the best I have managed, at least as a single line</div><div><br></div><div>Date current year - (Date year: 1971 month: 1 day: 5) year - ((Date year: 1971 month: 1 day: 5) dayOfYear < Date current dayOfYear ifTrue: 0 ifFalse: 1)</div><div><br></div><div>This also works in Cuis.  Use of a variable for the birth date helps to reduce repetition of course.</div><div><br></div><div>Ken<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 25, 2021 at 2:30 PM tim Rowledge <<a href="mailto:tim@rowledge.org">tim@rowledge.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I was just looking at calculating an age from birth date and 'test' date and was startled to find no convenient method in the relevant classes. Given how many things Chronology does I'm convinced I must have missed sometihng obvious - but where?<br>
<br>
tim<br>
--<br>
tim Rowledge; <a href="mailto:tim@rowledge.org" target="_blank">tim@rowledge.org</a>; <a href="http://www.rowledge.org/tim" rel="noreferrer" target="_blank">http://www.rowledge.org/tim</a><br>
Strange OpCodes: LD: Lose Device<br>
<br>
<br>
<br>
</blockquote></div>