in reply to Format user entered date?

Maybe Date::Parse could be of help to you?
Perl 6 - links to (nearly) everything that is Perl 6.

Replies are listed 'Best First'.
Re^2: Format user entered date?
by mcarthey (Novice) on Aug 31, 2009 at 20:50 UTC

    Thanks. I've tried using Date::Parse but I was getting output similar to this:

    $fulltime = $fields[2] . " " . $fields[3]; $str2time = str2time($fulltime);
    .. and the output ..
    FULLTIME 7/20/2009 21:32:27
    STR2TIME: 1248143547
    
    Thanks for any guidance!

      So you need to format your output too. That can be done with a combination of localtime and POSIX::strftime for example.

      Perl 6 - links to (nearly) everything that is Perl 6.