parse_relative_time
cert_valid_from = parse_relative_time(from, now);
cert_valid_to = parse_relative_time(to, now);