Date fields are not the same when I change the timezone

Hello,

I am testing my app by changing the timezone of my computer and I notice that my date fields were updated in the database without any workflow !!

Ex :
My timezone = Canada
I insert a thing with dates.
It is OK.

Now my timezone is Paris :
I do not insert anything
The dates were updated !

Why ?

That’s weird !

1 Like

Any idea please ?

Hey @Sam75
Bubble always stores dates in UTC but displays them in the user’s timezone. When you change your computer’s timezone, the date may look different, but the stored value in the database remains the same. To verify this, check the App Data or use :extract UTC to see the actual value. If you want dates to always display in the same timezone, format them with a fixed timezone or save a formatted version as text. If users should see dates in their local timezone, use Current User’s Timezone. This prevents confusion and ensures consistency in date display.

If you have a doubt, send me a message. I can show you the step by step

Hi sociosemp,

Yes I have understood that.

Thank you for you kind message !

I will close the topic.

Thank you

Kind regards

1 Like

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