in reply to timelocal returns time one month ahead - figured it out... sry
strftime to format times, strptime to parse formmated time strings
see Time::Piece/Time::Piece for both