Hi all,
So I thought I was getting closer to an issue I've been having converting a string to date in order to compare it against today and see if it is in the future.
My date format is dd/MM/yyyy (e.g. 23/11/2023)
When I use the following code in my HTML Table action it works to convert the date, but when i try and use it in the filter query, it gives me the error below:
convertToUtc(concat(split(item()?['FSAGDate'],'/')[2],'-',split(item()?['FSAGDate'],'/')[1],'-',split(item()?['FSAGDate'],'/')[0]), 'Greenwich Standard Time')
"Unable to process template language expressions in action 'Get_items' inputs at line '0' and column '0': 'The template language expression 'convertToUtc(concat(split('FSAGDate','/')[2],'-',split('FSAGDate','/')[1],'-',split('FSAGDate','/')[0]), 'Greenwich Standard Time')' cannot be evaluated because array index '2' is outside bounds (0, 0) of array. "
Any idea why? If I need to covert my date prior to it going in the Get Items Filter Query, I really don't know how to do that...