For some reason I can’t format a Date field that I’m showing on a detail view.
Some background:
The Google sheet locale is set to Portuguese. In Google sheets, I can see the inserted dates appear in the desired format (DD/MM/YYYY).
In Appsheet editor, the Data table locale is set to the same language. In the app preview, the date itself also shows correctly as DD/MM/YYYY.
But, when opening the web app, the Date is showing as MM/DD/YYYY, which is not what I want.
I checked on three different devices and all show it like that.
I’ve tried using TEXT in different ways, without success. I suspect I am not applying it the right way. Can you help?
I’m currently using DD-MMM-YYYY on the formula:
TEXT([Updated on], “dd-mmm-yyyy”)
When testing the expression, it actually looks good.
The Google sheet locale is set to Portuguese. In Google sheets, I can see the inserted dates appear in the desired format (DD/MM/YYYY).> In Appsheet editor, the Data table locale is set to the same language. In the app preview, the date itself also shows correctly as DD/MM/YYYY.
The device or browser itself must also be configured with the desired locale.
IAR:
I’ve tried using TEXT in different ways, without success. I suspect I am not applying it the right way.
You cannot use TEXT() to format a column of type Date.
You cannot use TEXT() to format a column of type Date .
Then i completely misunderstood it. Because a lot of the examples in the article mention date formats and conversion.
How can I format the date then?
Now I prefer to have the month in short or long name (MMM or MMMM), instead of the double digit, just to avoid any confusion for the users.
Should i change the format on the source table (Google sheet) ?