Hi Antoine,
Thank you for posting your query in our community.
Per your description, you want to calculate Time difference in calculated column. However, when you try to create a formula in the calculated column, an error 'The formula contains a syntax error or is not supported.' will pop up. About the formula, I tested it on my side, and there was no problem. You can check below images:
As the error message shows, when you enter the symbols, please make sure they are paired correctly with the right language, for example: () and "".
And if you use the ";" instead of ",", for your formula so it should be like this: =TEXT([Entrees]-[Sorties];"h:mm:ss"), will the same error occur?
Best regards,
Jazlyn