I am sure you can use formatDateTime() to solve your issue, but from what you've provided I cannot tell where in your process the error is being generated. I will assume it is occurring in the split expression of the Datetime value. However, I don't see anything in the you split expression that is trying to convert the value to a date. Where is that happening? Within in the error, it says you are passing the time zone offset to (+00:00). To format a date, the date needs to be in ISO 8601 format. It all looks correct, except ISO 8601 would be 2024-12-08T20:59:57Z instead of 2024-12-08T20:59:57 +00:00.