in reply to Date format

Replies are listed 'Best First'.
Re^2: Date format
by strat (Canon) on Feb 14, 2006 at 07:46 UTC

    With POSIX, it would be:

    use POSIX; print strftime("%A, %B %d, %Y %H:%M", localtime(time));

    The big advantage is that with POSIX you can get day and month name in your language, e.g. for me the output looks like:

    Dienstag, Februar 14, 2006 08:43

    Best regards,
    perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"