Date format change in excel

I have excel column having format like this

IAM performing this activity

after this iam using a write range activity but the format got changed to below

Is there any possible way to avoid this

Hi @Gokul_Murali

You are converting the approval date to the string format in the assign activity that’s why it was changing the format in the excel.

Instead of that convert the LastDate variable to the DateTime datatype and give the expression in assign activity,

- Assign -> LastDate = AppDate.addmonths(2)

Then try.

Hope it helps!!

But here if the date in approval column is in january,feb, march i want to get the march last date

and if the date column in approval coumn is April, May, June i want to get the june last date

How can i get that

LastDate = AppDate.addmonths(2) = when i use this iam getting the same value

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.