in reply to Converting to epoch time.

Use Date::Manip's ParseDate function.