i.e 1 second = January .
But this is ok for small amounts of elements but I would not want to do it for dates.
So I wanted to see if another way would work, by getting the selected day,month,year elements position.
Using the day,month,year groups container's clientRects I am able to do this since each day,month,year element moves into that position. So all I do get the element with the top,left position document.elementFromPoint which will get the top element in at the x,y point.
The one thing I had to make sure was the group containers were not overlapping any other element or things would break.
I am actually surprised this works and am not sure how robust it is..
datePicker2-1.hypetemplate.zip (22.3 KB)