So I was trying to finish a feature in my main bubble app. It’s sort of a scheduling block.
I had to create 24 buttons that can toggle as selected or not and then save the toggles dates in the database.
The list of 24 toggles is created grabbing the actual time(resetting seconds and minutes to 0) and adding one hour to each toggle.
So if it’s 13:35 it will create a list of 24 date objects starting at 14:00:00 and finishing at 13:00:00( next day).
Date manipulation is complicated but in Bubble it’s even more. You can’t create the list without JS manipulation.
How would I replicate something like this in Wappler? I don’t need a detailed solution.
Just want to understand how Wappler manages dates, list of dates, timezones and adding/substracting time units.
Last updated: