Unix Timestamp to date with Bubble API Connector

I’m pulling data from the Stripe API with Bubble’s API Connector

It returns timestamps:

I have my API connector set up like this for this field:

I want to convert the timestamp to a readable date.

I know from an older answer in this forum that there is a plugin.

However I can also see this option in the API Connector:

Does that ↑ option mean to convert unix timestamp to date?

Unfortunately, when selecting it, my app does not show anything:

Must I use a plugin or should this be possible with the API Connector?

Thank you

Hi,

Indeed you need to go in your API call settings, and change the type of thing to be a date (unix).

Once this is done, you should be able to use that field anywhere on your app just as any other normal “date” type of field - no plugin needed.

ok thanks,

I changed it in the API Connector to this:

However, now it doesn’t output anything:

Is there anything I’m missing?

oops, sorry.

All working now.

Thankyou!

1 Like