Converts entered string (number + suffix in minutes, hours, and seconds) into milliseconds