The problem is with stamp date. When downloading it from the Web, the date comes out correctly, but when doing it from the api it is downloaded in the MM\dd\yyyy utc format and I have not found any way to format it ...
I tried with the code and works fine, but I have a problem with it. In the download document I get the UTC date.
How can change the date culture to Spain? (dd/MM/yyyy utc +2)