On Wed, 17 Apr 2002, 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)

I've had to do a lot of this kind of thing recently and I've found that 
using epoch time (seconds since 1/1 1970) is the easiest method.  Perl has 
all kinds of manipulations for this (and if you're interested in it, I can 
give you some examples).  time and localtime should do it, I believe.  

Ben

-- 

Vicious as a tigeress can be, she never eats her own cubs. 


*****************************************************************
To unsubscribe from this list, send mail to [EMAIL PROTECTED]
with the text 'unsubscribe gnhlug' in the message body.
*****************************************************************

Reply via email to