Replace x and y coordinates with datetime.