in reply to time in to sec calculation

use Time::Piece strptime, DateTime::Format::Strptime ...