0 Replies Latest reply on Sep 2, 2010 11:00 PM by Mirza Asim

    Timezone issue on MAC

    Mirza Asim

      I have a very simple application with two pre-conditions. OS is MAC and timezone is Pakistan with DST on.

       

      a DateChooser control

      <mx:DateChooser id="dte" change="onChange()"/>

       

      in onChange() function

      private function onChange():void

      {

           trace(dte.selectedDate);

      }

       

       

      When I select 14th April 2010 it prints

      Wed Apr 14 00:00:00 GMT+0500 2010 thats perfectly fine BUT

       

      when I select 15th April 2010 it prints

      Wed Apr 14 23:00:00 GMT+0500 2010 now thats the problem

       

      Same application with same timezone (Pakistan) works fine on Windows. Can anybody help me on this issue.

       

      Regards

      Mirza Asim