hou.timeToFrame
function
Convert from a given time value to a frame value, rounding the result to a integer if it is close to an integer.