The Nature of Time and Semigroups