2 Replies Latest reply on Apr 17, 2013 4:59 AM by DeanLoganBH

    unable to convert a date string to date

    vineet osho Level 1

      hi

           i am trying to convert a date string like "19-mar-2012" to date format using mm-dd-yyyy format but every time gets null value.

      using that logic

       

      var dateString: String = "19-mar-2012";
      var d:date= DateField.stringToDate(dateString,"DD/MM/YYYY");

       

      so can anyone help me out.

       

      Thanks in advance

      Vineet Osho