Allow different units to be used for time.