in reply to Re: Format user entered date?
in thread Format user entered date?

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!

Replies are listed 'Best First'.
Re^3: Format user entered date?
by moritz (Cardinal) on Aug 31, 2009 at 21:08 UTC

    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.