Hello,
I also always try to understand the things that I use by searching and then copy-pasting.
The following constellation:
Excel date in Cell:
25.01.2023
Input into Power Automate:
44951
Expression for converting and get the correct date without errors in Power Automate:
addDays('01/01/1900',sub(int(outputs('Compose')),2),'dd/MM/yyyy')
I had Chat GPT explain the formula to me in order to improve it for next time.
Why do 2 days have to be deducted? I suspect it's a "simple" computer language that I don't understand yet.
I would be happy if someone could explain it to me.
Thank You