Get list of dates within range

I am working to build a tool to keep Bubble dates in sync with different users’ Google Calendar events.

Effectively, if a user has at least one event on a date on Google Calendar, I want to record that date in Bubble. Whether it’s 1hr, all day, or multiday. Multiday is stumping me. Because I need to use the Start Date & End Date to get the dates in between.

e.g.
Event 1 is 4/1/22 @ 1-2pm
Event 2 is 4/5/22 All Day
Event 3 is 4/9 - 4/15

I want to get for those 4/1/22, 4/5/22, 4/9, 4/10, 4/11, 4/12, 4/13, 4/14/, 4/15

Does anyone have any tips on how to parse/split those out?

Tagging @NoCodeNinja

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.