Well I tried to look for many questions but couldn't find something relevant. I have a string that has the following data:
String sDate = "2018-01-17 00:00:00";
This comes from an application, and I need to convert it into the following Date format
17-01-2018
I went through this link but could not relate.
Can someone help..?