2 Replies Latest reply on Sep 19, 2008 2:24 AM by ajesing

    Convert String to Date Format


      How can I convert a string value to date?

      I have a something like this
      var st:String = "01-Jan-2008 11:20";

      I need to get that in the format YYYY,MM,DD

      Another thing is I need to pass the date format to the DateChooser selectableRange property.
      I guess the MM format should be in the 0 to 11 format.

      How can I achieve this?