DateSelector is functional