Ignore user's time zone with date/time input

The solution we’ve used it to convert the inputted time into UTC and then store it in Bubble. So, if someone puts in 5pm Eastern, we store that as 10pm (UTC, which is how Bubble stores times).

There a are few ways to calculate this offset which are discussed in several posts in the forum from about a year ago (here’s one). It’s more complicated to implement than it seems like it should be, but I think that’s just the nature of dealing with time and timezones in general. Not crazy hard or anything, just not trivially simple either.

1 Like