Query by month or by year or by specific day

To get first date of the month and the last one, you can use momentjs’s startOf('month') and endOf('month') functions.

do it from front-end?