in reply to Re: Date conversion
in thread Date conversion

You forgot to add one to $mon -- localtime() returns January as "0".