Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Simon (89)

Simon
  simon-use-perl@perlhacker.org
AOL IM: lathosjp (Add Buddy, Send Message)

Busy Man.

Journal of Simon (89)

Sunday April 14, 2002
08:49 AM

I rock.

[ #4185 ]
% perl -Mblib -MDate::PeriodParser -le 'print scalar localtime $_ for parse_period("about lunchtime of the day before yesterday")'

Using /Users/simon/modules/Date-PeriodParser/blib
Fri Apr 12 10:00:00 2002
Fri Apr 12 15:30:00 2002

% perl -Mblib -MDate::PeriodParser -le 'print scalar localtime $_ for parse_period("sometime around ten days ago")'

Using /Users/simon/modules/Date-PeriodParser/blib
Tue Apr 2 15:00:00 2002
Sat Apr 6 08:59:59 2002
Much more work to do on it, tho...

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • You'll rock when it will do that in at least 10 different languages and a variety of calendars. :)

    • I know you meant it in jest, but this is the sort of thing that I really hate about the Perl community, and that draws me away from it. So quick to cut people down. I'm guilty of it too, I know, but it really does suck.
      • One with so sharp a tongue and so large an ego shouldn't be so sensitive...or should start remembering how it feels on the other side. And yes, I was kidding. :)