Hi, I am having problem on DATE,the date is stored in the database is like this 2012-05-06,now i want to retrieve the date and display on the textfield.but the format will be like this Feb/02/13.

I tried my code but it's not working.

lets assumed that i have successfully queried my database.
     $mydate = $row['date'];

     $mydate = date(M/dd/yy,strotime($mdate));
Thank you in advance.