Transform Xano generated timestamp to date format for Bubble
Options
![Rand](https://us.v-cdn.net/6037124/user_avatars/3992907.jpg)
Rand
Member ✭
I want to show the date of the last record from my Xano database in Bubble and I'm presuming that I can get this from the timestamp data.
When I make a get request to the timestamp parameter it displays as a number like this: "1649858712526".
I can't find a way to convert this output into a date format within Bubble so I'm wondering if there's anything I can do function wise in Xano to create a date column in my database, converting this output into a readable date format or if there's a simpler solution?
Any help would be appreciated 🙂
When I make a get request to the timestamp parameter it displays as a number like this: "1649858712526".
I can't find a way to convert this output into a date format within Bubble so I'm wondering if there's anything I can do function wise in Xano to create a date column in my database, converting this output into a readable date format or if there's a simpler solution?
Any help would be appreciated 🙂
Comments
-
Hi
you can use the filter "format_timestamp" to convert timestamp to normal date. [image.png]And then you can override in your object the property "created_at". So that you have a normal date in the output of your API. -
great answer. - you can see even more options for formatting timestamps however you want in our documentation
-
, thanks both!
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback