I have a query, and it includes some date attributes. All dates are formatted MM/dd/yyyy. I have a process that exports the query to a .csv file. Example:
EXPORT ‘QueryName’ TO ‘FileName.csv’
In this mode, it seems the display parameters of the query are not respected. Rather than using the labels provided in the query, it displays the attribute names. While the date format in the query (and the associated attribute) is MM/dd/yyyy, it displays dd/MM/yyyy for shortcuts of the date data type. So, it seems that when exporting a query to a file, the query is just dumped from the database rather than using any display features provided in the query, and shortcuts are handled a bit differently and seem to default to a certain date format. Perhaps that can be improved on the platform.
Expanding: Ultimately, I need the contents of a table (via query) dumped to Excel. Every method I know of requires exporting to CSV. When doing this, any shortcut to a date attribute loses formatting and goes to dd/MM/yyyy format regardless of the query format. This includes using the Export to CSV header operation.
Is there a way?