Added function to retreive date selections