$jobTimes[$i]{'startX'} = int(($jobTimes[$i]{'start'} - $dayStart) * $scaleConst);