0 Replies Latest reply on Jun 5, 2009 7:12 AM by manofspirit

    Date to Elapsed Days Conversion

    manofspirit Level 1

      Hello Guys


      I need guidance in Date to Days Conversion

      Lets Suppose i have a string as following


      var time:String = "2009-09-01"

      and as today is 5

      so i want a value like


      "4 Days Ago"


      How could i convert this date to days?


      Thanks in advance