Replaced deprecated schedule and date methods