I have a date in below format
Dec/02/2019 expected output was 12/02/2019.
But i am not getting the right result. My output was 02/0019
My expression
Convert.ToDateTime(Test).ToString(“dd/mm/yy”)
Any help would be much appreciated
Thanks
I have a date in below format
Dec/02/2019 expected output was 12/02/2019.
But i am not getting the right result. My output was 02/0019
My expression
Convert.ToDateTime(Test).ToString(“dd/mm/yy”)
Any help would be much appreciated
Thanks
Your expression is correct but instead of lower case mm use upper case MM
As mm is for minutes and MM is for Month
Like this
.ToString(“dd/MM/yyyy”)
Let me know if this works
Happy Automation
Thanks @nikhil.girish
I had missed that
No problem @Prasidh_Krishna
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.