Time

Let's rename this function to `date_select`. Also please fix formatting.