On Wed, 2002-04-17 at 14:51, Thomas M. Albright wrote: > Most of that I can figure out on my own. The only problem I really have > is with the dates. I know 'date +%x` will output the current date as > mm/dd/yyyy. `date +%j` will give me the day of the year (eg.: today is > 107). Using that format quits working sometime in October tho. (10/3 is > 276 + 90 = 366)
366 mod 365 (you'll need to calculate if it's a leap year) = 1, or Jan 1. You could also just subtract 365/366 from the date and get the same thing. There are perl modules for messing around with dates as well that I used years ago that would add dates, etc. -Mark ***************************************************************** To unsubscribe from this list, send mail to [EMAIL PROTECTED] with the text 'unsubscribe gnhlug' in the message body. *****************************************************************
