2 Replies Latest reply: May 19, 2011 5:00 AM by Kaushal Mehta RSS

    Convert to text date to date

      Hello,

       

      I want to convert the following date (getting as text from database) to date format as 'YYYY-MM-DD': "2009-12-18T10:30:38.000Z".

       

      Following command is not working because it is a text:

      date('2009-12-18T10:30:38.000Z', 'YYYY-MM-DD');

       

      Thanks

      Samir