Different values written in notepad and log output with the same value from excel


I’m facing a strange situation with writing outputs.
This is the field I’m taking for example:
Within the For Each Row I added assign activity
dateTime = row(“Date Time”).ToString

I took that variable and tried to write it into two ways:

  1. In the log output using WriteLine activity

  2. Using append line activity to store the output in a notepad file

Why there are two different values showing? I didn’t do any conversion or parsing before logging dateTime variable.

Thanks in advance.