Hello everyone,
I have a data set, in which there are an average of 190 items. Each item comes with a date and time. I need to subtract incoming dates and times from instant dates and times. Therefore, I use the ticks function for both dates separately, while I do not have a problem when I do it for the current date, I get an error when processing the date and time data from my dataset with the ticks function.
The sample date and time data I received is as follows: '20230426 000900.000'
The ticks function content I use is as follows: ticks(formatDateTime(item()?['X']),'yyyyMMddTHHmmss.sss')
ticks(formatDateTime(item()?['X']),'yyyyMMddTHHmmss')
ticks(formatDateTime(item()?['X']),'yyyy-MM-ddTHH:mm:ss')
i tried each sample one by one but i always got the same error
The error message I got is as follows: Unable to process template language expressions in action 'Compose_5' inputs at line '0' and column '0': 'In function 'formatDateTime', the value provided for date time string '20230427 000200.000' was not valid. The datetime string must match ISO 8601 format.'.
