1 Reply Latest reply on Apr 25, 2009 5:30 AM by snowscreen

    Problem submitting current "date.time" (1.1.1970) to MySQL (parseerror?)

    snowscreen

      Hey folks,

      does anyone know, why this:


                     var now:Date = new Date();
                      var time:String = String(now.time);



      when posted to a MySQL database

      e.g. 1240612195734 - gets changed to 2147483647?

      (I tried varchar(30) and int(30) as datatypes - it should really fit in there..)


      all other data gets stored correct...


      Is there something basic I've missed? Please help


      thanks in advance, snowscreen

       

      Sorry, I forgot to update the autogenerated scripts, after changing the settings in the MySQL DB. Problem is now solved.