Edit deprecated time functions