Convert string date to Date type

var d:Date = new Date(Date.parse(MM/DD/YYYY));

Christmas day
var d:Date = new Date(Date.parse(12/24/2008));

3 Responses to “Convert string date to Date type”

  1. Mark Says:

    Well thats pretty simple - but I cannot believe that flex will not allow you to include time in that. What if I have YYYY-MM-DD HH:MM:SS??

  2. Maxik Says:

    Интересная статья. Спасибо!

  3. Dimon Says:

    Интересная статья. Спасибо!

Leave a Reply