Hi @Sneha2369
So in the same statement just add as below :-
DateTime.ParseExact(CDate(strvar).ToString("dd/MM/yyyy"),"dd/MM/yyyy",System.Globalization.CultureInfo.InvariantCulture).ToString("dd/MM/yyyy")
Or another way is just do like below :-
CDate(strvar).ToString("dd/MM/yyyy")
This both way will eliminate the timing part at the end of the date
Mark as solution and like it if this helps you
Happy Automation
Best Regards
Er Pratik Wavhal