Re: Date stuff

2002-01-10 Thread Luke Bakken
three days ago = $threedays = time() - (3 * 24 * 60 * 60); @date = localtime($threedays); On Wed, 9 Jan 2002, Jeff 'japhy' Pinyan wrote: > On Jan 9, Scott Taylor said: > > >Can anyone tell me how I can set a variable to a date, then subtract x > >number of days from it and output the new date

Re: Date stuff

2002-01-09 Thread Jeff 'japhy' Pinyan
On Jan 9, Scott Taylor said: >Can anyone tell me how I can set a variable to a date, then subtract x >number of days from it and output the new date? I can't seem to find it >anywhere. You should use a date manipulation module, such as Date::Calc or Date::Manip, or the standard Time::Local or