I think this is on the right board?
I have a flow where I am Listing Rows and then converting these to HTML format with a connector. I have several date columns and want to reformat the date to 'yyyy-MM-dd'.
This code works sometimes, but not all the time:
formatDateTime(parseDateTime(Item()?['cr2c7_datecreated']), 'yyyy-MM-dd', 'en-US')
For example, this code works for my column cr2c7_datecreated, but not for these two:
formatDateTime(parseDateTime(Item()?['cr2c7_dateinspected']), 'yyyy-MM-dd', 'en-US')
formatDateTime(parseDateTime(Item()?['cr2c7_datereceived']), 'yyyy-MM-dd', 'en-US')
Anyone know why I would get this error on some datafields and not others? Its happened to me on multiple Flows now with different data Tables from CDS.