A javascript library for defining recurring schedules and calculating future (or past) occurrences for them. Includes support for using English phrases and Cron schedules. Works in Node and in the browser.
[
'2018-06-04T21:00:00.000Z',
'2018-06-05T05:00:00.000Z', // 5 am not 5 pm
'2018-06-05T13:00:00.000Z',
'2018-06-05T21:00:00.000Z',
'2018-06-06T05:00:00.000Z', // 5 am not 5 pm
'2018-06-06T13:00:00.000Z',
'2018-06-06T21:00:00.000Z',
'2018-06-07T05:00:00.000Z', // 5 am not 5 pm
'2018-06-07T13:00:00.000Z',
'2018-06-07T21:00:00.000Z'
]
every 8 hour starting on the 5:00 PM