Cleanup date time functions