export function convertTime(str, startIndex, endIndex) { return parseInt(str?.slice(startIndex, endIndex), 10); }