How to get only Date part from ISOFROMAT

I have input as below

2013-03-10T08:00:24.338Z

How do I get output as 2013-03-10