Forum Documentation Showcase Pricing Learn more

Ignore user's time zone with date/time input

#1

I’m attempting to input a date/time value from the date/time picker but can’t figure out how to input for a specific time zone and completely ignore whatever time zone bubble detects the user from being in. Is this possible?

1 Like

#2

bump-- any ideas here?

0 Likes

#3

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

closed #4

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

0 Likes