1 Reply Latest reply on Feb 11, 2009 1:40 PM by tagg3rx

    Read JSON Date produced by ASP WCF WebService

    tagg3rx
      Hello,
      I am pulling down some data from a JSON Webservice and the format that it gives dats in is as follows:
      /Date(1234296241740-0800)/

      This post describes the JSON Date format in further detail - it appears to be an accepted standard
      http://weblogs.asp.net/bleroy/archive/2008/01/18/dates-and-json.aspx

      But I can't find a decoder in action script I have tried the following
      JSON.decode(o)

      from as3corelib:
      DateUtil.parseW3CDTF(o)
      DateUtil.parseRFC822(o)

      Does Anyone know how to decode this format into a date object?

      Thankyou