in reply to Converting dates with Date:Format

Could it just be that you assign to $test but print $text?

use strict; use warnings; is your friend!

Replies are listed 'Best First'.
Re^2: Converting dates with Date:Format
by ultranerds (Hermit) on Jan 10, 2017 at 07:21 UTC
    Ah man, that wouldn't help! :)

    It not does something, but I get:

    1900-16-20 03:11

    So I must be doing something else wrong?

    Also, I can't enable strict on this script, as its a very old one, and will break in every way imaginable (they don't use "my" deceleration's, apart from the code I have added in)

    Thanks!

    Andy