I’m using the Xero API (via the Zeroqode plugin) in my Bubble project but wondered how people are using and formatting things like the invoice date fields for example?
The Xero API returns the date in a couple of formats (e.g. Either “/Date(1670716800000+0000)/” or “2022-12-11T00:00:00”) but neither of these can be used as a date and formatted as such within Bubble.
Within my project, I want to be able to both display the dates UK format (e.g. “11/22/22”) and also use them to calculate differences between these dates and the current date etc.
Set the data field to datetime when you initialize your api call , then when you call that api from your bubble editor, you can perform all sorts of calculations on that date.