How to transform a date into a ISO8601
Options
![emvipy](https://us.v-cdn.net/6037124/uploads/userpics/4QZG831JVSRP/nGAWE1UXFUZ01.png)
emvipy
Member ✭
Hi there,
I need to transform a date to ISO8601 format but if I use "c" in transform timestamp the resulting format is this:
2023-09-04T00:00:00+00:00
and I need this one:
2023-09-04-04T00:00:00Z
How can I do it?
Thanks!
Best Answer
-
That you get is valid ISO 8601. Z is a shortcut for “Zulu time” which is GMT. But maybe you need this exact format because it’s what your consumer requires! I’d use the c, then split the result on “+” then apply the first filter then apply the concat filter with a value of Z.
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