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.
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/
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
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
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
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