Hi, @RazenC
According to your screenshot , you are using the formatDateTime() function to get the format of the date.\
You can try to use the 'yyyy-MM-dd HH:mm:ss' to test .
For more information, you can refer to :
Custom date and time format strings - .NET | Microsoft Learn
I test it in my side , it works good where the column in my dataverse columnn type is "DateTime":

The result is as follows:

Second, you can check that the date format you have the problem with is the same as the date format returned correctly. You can check this in the output in above action.
You can compare the difference between the correct and incorrect values in the results returned in the previous step.
If this still doesn't help you solve the problem, you can provide me with some format data in Dataverse that has problems, along with your expected output, so that I can better help you.
Best Regards,
Yueyun Zhang