I tried to make a script that takes a row form a sheet full with dates, convert it into an array and count a specific date.
I managed to do all except the "count a specific date" part.
the dates in the array looks like this:
Fri Jan 27 2017 00:00:00 GMT+0100 (MEZ)
The arry:
Fri Jan 27 2017 00:00:00 GMT+0100 (MEZ),Wed Jan 11 2017 00:00:00 GMT+0100 (MEZ),Wed Jan 11 2017 00:00:00 GMT+0100 (MEZ),Wed Jan 11 2017 00:00:00 GMT+0100 (MEZ),Mon Jan 02 2017 00:00:00 GMT+0100 (MEZ),,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,
The wanted Output: (for "Wed Jan 11 2017 00:00:00 GMT+0100 (MEZ)"
3
array.filter(d => d == specific_date).lengtharrays? Should I make the edit?