Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.
Originally posted by: tessamHey All,
I am working on a graph which needs the output to contain a specific date format (MM/DD/YYYY). In LS, I have been able to put together the format correctly:
dateFieldAsString = format("%02d/%02d/%04d",'Ord Activity Date'.month(),'Ord Activity Date'.day(),'Ord Activity Date'.year())
However, when I output into an xlsx file, the date appears as such: YYYY-MM-DD. If you click on a cell with a date, you can view the correct format in the formula bar (MM/DD/YYYY).
A colleague of mine and I put our heads together and set up a template to try and hold the correct view of the date. That, unfortunately, is not working and the date continues to appear as YYYY-MM-DD. The formula bar continues to show the correct format.
Anyone have any issues with this before? Were you able to resolve this?