2 Replies Latest reply on Oct 27, 2007 8:19 AM by doug777

    Date Problem

    doug777 Level 1
      Using RemoteObject, I get a date from a SQL Server 2005 database and pass it through a CFC to Flex.

      Using a test file I can generate the output of the CFC and the date shows as 2007-10-27 15:50:00.0 which is the correct date/time in the database.

      If I run the swf and immediately call toString() on this returned date in Flex, it shows Sun Oct 06:50:00 GMT+0800 2007
      and toLocaleString() shows Sun Oct 28 2007 06:50:00 AM

      In other words something has added 15 hours to the date.

      Does anyone know what is going on here?