I attempted to create a script that extracts a row from a spreadsheet filled with dates, converts it into an array, and then counts occurrences of a specific date.
Although I successfully completed most of the script, I encountered difficulties when trying to implement the feature that counts a specific date.
The dates in the array are formatted as follows:
Fri Jan 27 2017 00:00:00 GMT+0100 (MEZ)
The array contains the following dates:
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 desired output for "Wed Jan 11 2017 00:00:00 GMT+0100 (MEZ)" is:
3