Initially i stored my data in a textfile (notepad) then i want the robot to read it from the textfile so it can send through the email.
However, when i try to debug it looks fine in the first half but when it read from the File in the email the date format changes automatically.
Initial setup
Log message for above picture.
Result become like this
The correct date should be 1st of december instead of 12th jan
As you can see it is shown as 1/12/2024 for the expiry date.
But it keep on being shown as the image below
it is being displayed as 12th of jan 2024 instead of 1st of dec 2024
Next problem is that if you look at the second picture:
the item have no expiry date and my code keep on stop and wont progress afterward and i had no clue on how to fix it.