I find more rapid method

DataFormattata as date
DataFormattata =rows.Column(“Data”).DateValue

ListBoxAvere.AddRow(dataformattata.ShortDate)

Hello group
I would like to understand if there is a faster or more optimized way to write to a listbox, the data field taken from a database in the format dd / mm / yyyy. At the moment I use the code written above … but I’m not sure if it’s the best, maybe there is something like:
ListBoxAvere.AddRow(rows.Column(“Data”).DateValue.ShortDate) ??

you could put datetime into cell tag and draw in cell paint event

have a look at .ToString
https://documentation.xojo.com/api/data_types/datetime.html#datetime-tostring

I tried to see in the documentation … it tells me about FormatStyles … but in the menus there is no such thing.
Immagine