I have an array of date, how do I find the most common / second / third etc day of the week? The I have tried the following
moment(@date field).week()
but how about an array of json dates?
2018-04-19
2018-04-19
2018-04-19
2018-04-20
2018-04-24
2018-05-02
2018-05-02
2018-05-02