Replaced the random_date and anti_timetravel functions with a more compact and functional random_dates function