Format Date Field in Output
Options
pgiesin
Member ✭
I have what I feel is a simple problem, yet, I can't find an easy solution. I have a table with a Date field that by default is returned as "2023-04-06" from the API to Wized/Webflow.
My requirement is to display the data as "April 04, 2023".
Is there a way to make Xano make this transformation before returning the final response?
Peter
Answers
-
Yes! There are date parsing and transformation filters in Xano. I would take the date, "parse_timestamp" it into a timestamp, and then "format_timestamp" into what you need. Here are on-point docs: https://docs.xano.com/working-with-data/timestamp
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