Re: date manipulation mods

2004-05-13 Thread Jeff 'japhy' Pinyan
On May 13, Harry Putnam said: >Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> writes: > >> On May 13, Harry Putnam said: >> >>>Is there a date manipulation module that does the same thing as gnu >>>`date -d' command? That is, given a spec string, it returns a date in >>>the past in user selected format.

Re: date manipulation mods

2004-05-13 Thread Harry Putnam
Bob Showalter <[EMAIL PROTECTED]> writes: > Or, you can use something like Date::Manip which handles the '2 weeks ago' > type of expressions. It has its own UnixDate function that is similar to > POSIX::strftime. Aha... now we're talking. Date::Manip is what I was after: cat test.pl: #!/usr/

Re: date manipulation mods

2004-05-13 Thread Harry Putnam
Jeff 'japhy' Pinyan <[EMAIL PROTECTED]> writes: > On May 13, Harry Putnam said: > >>Is there a date manipulation module that does the same thing as gnu >>`date -d' command? That is, given a spec string, it returns a date in >>the past in user selected format. >> >>Like what gnu `date' would do wi

RE: date manipulation mods

2004-05-13 Thread Bob Showalter
Harry Putnam wrote: > Group, > > Is there a date manipulation module that does the same thing as gnu > `date -d' command? That is, given a spec string, it returns a date in > the past in user selected format. > > Like what gnu `date' would do with: > date -d '-2 weeks' +"%m%d%Y_%T" > 042920

Re: date manipulation mods

2004-05-13 Thread Jeff 'japhy' Pinyan
On May 13, Harry Putnam said: >Is there a date manipulation module that does the same thing as gnu >`date -d' command? That is, given a spec string, it returns a date in >the past in user selected format. > >Like what gnu `date' would do with: > date -d '-2 weeks' +"%m%d%Y_%T" > 04292004_13:20

date manipulation mods

2004-05-13 Thread Harry Putnam
Group, Is there a date manipulation module that does the same thing as gnu `date -d' command? That is, given a spec string, it returns a date in the past in user selected format. Like what gnu `date' would do with: date -d '-2 weeks' +"%m%d%Y_%T" 04292004_13:20:28 I've written some manipul