marto, Thanks that did the trick thank you. This has also revealed that the Time::ParseDate really needs to be retired as upon further test of an existing script the results are not correct so I am going to also takes GrandFather's advice and switch to Time::Piece.