in reply to date conversion

str2time (use Date::Parse) will do what you want.

HTH,
Mickey