That's a really good one. You'd need $() to get it into LASTSUNDAY, but if that's part of the parameters, then that'll work great. -Phil/CERisE On Fri, Nov 18, 2005 at 02:01:34AM -0800, Anthony Ettinger wrote: > echo `cal|rev`|rev|cut -b-2