<div dir="ltr"><div dir="ltr"><div dir="ltr">So, this code:<div>   Date today asMonth datesDo: [:date| Transcript cr; show: date yyyymmdd]</div><div>prints out each day in the month.  That is what I'd expect.</div><div><br></div><div>This code:</div><div><div>  |mth|</div><div>  mth := Date today asMonth.</div><div>  (mth start asDate to: mth end asDate) datesDo: [:date| Transcript cr; show: date yyyymmdd]</div></div><div>does not print the last date.</div><div><br></div><div>This has bitten me.  If I add a nanosecond onto the end date (mth end asDate + 1) it does include the last date - but that is ugly.  And dangerous if I have other code that carefully picks the following date start to work around this oddity.</div><div><br></div><div>Thoughts?</div><div><br></div><div>-cbc</div></div></div></div>