Saving data to csv changes date time format

Saving data to csv changes date time format

Hello,

I am trying to take data from a device and add them to a csv file.:



The default timestamp format from Tago is the one that I want:



But after adding the timestamp to the csv variable, the format of the timestamp changes to this:



Does anyone know why this happens? Is this a Javascript issue?

Thanks in advance for your help.