date select generation partially implemented