I am getting a data object that reads as
2013-10-29 00:00:00.000
I want to convert it to
2013-10-29
or any other logical date format.
I have tried the javascript function .toDateString(); and other, but non seem to work. What am I missing ?
Thanks