Selecting calendar date on website

Because selector attribute aaname takes only one value (date) which you clicked.
If aaname would have taken attribute in the dd-MM-yyyy format then you could’ve passed the variable date as 25-08-2017.
You should use other logic to find out which month/year to identify.

1 Like