I am getting time and date in this format 2012-03-14 12:33:30.000 from server. I want to remove the time part and keep just the date part like this 2012-03-14.
I get all outputs in this format and would like to know how I can remove the time part for all. Any help will be appreciated.