Date keeps decreasing by 1

Hi,

My app has a form that users fill out to add people. They enter people’s information such as birthdays, anniversaries, etc. The submit button already has a “create profile” action. I added another action to create a list of birthdays. The data is collected but when I went to the database to check, the day in the birthdate was decreased by one.

For example, a profile is created with the date of birth of 4/20/2000. In the collection of profiles, that date is correctly shown as 4/20/2000. When I check the date of birth collection, the date is 4/19/2000. I have no clue why this is happening. I’ve tried different formats for the date but it still happens. Any solutions?

It might be because the date is being stored in the back end in UTC and you’re somewhere else in the world where it’s “the next day”.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.