distance day and selected date