0 Replies Latest reply on Dec 7, 2007 7:02 AM by Cacademoniaca

    String to Date

    Cacademoniaca Level 1
      How can I convert a String to a Date?
      My string has the following format DD/MM/YYYY (spanish standard)

      var date: Date = new Date('01/02/2001') produces January the second, insted of Febraury the first.

      Any one know if there's a class like java SimpleDateFormat that has a parse method.

      Something that would take a String an output the get... I know it's not a big deal to make my own but I rather used a tested common lib!

      Thanks :D