Forum Academy Marketplace Showcase Pricing Features

Convert date string to Date Type?

Helo, Currently I am receiving string Date data from API. I used a plugin Server script to convert to Bubble Date type.

But why the string date “12/02/2021 08:00 PM” from API, when I convert to Bubble date type, it become Dec 3, 2021 3:00 am ?

date

It looks like your local timezone is UTC+7.

When you generate dates on the server-side, the system uses UTC+0 as the default timezone.

The following plugin might be helpful:

Thank you for the reply. I have installed, it can’t be used in the backend workflow ?

Currently I am using in backend workflow, with incoming data from an API.

You can use it in the API workflow.

I tried searching but its not there, attached screenshot.

2 Likes

Thank you.

1 Like

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