Results 1 to 3 of 3

Thread: How to get the datetime without timezone conversion

  1. #1

    Default How to get the datetime without timezone conversion

    Hey Everyone,

    Im using :
    { name: 'initialDate',type:'date',dateFormat:'c'} (STORE)
    renderer: Ext.util.Format.dateRenderer('D d/m/Y H:i ') (GRID - COLUMN)

    I dont wanna change my original database information, but when I use the code above EXT change the original database and converts the datetime using the timezone (-03:00). So, if the datetime in the database is 09:37 ExtJS shows 06:37. How can I solve it?

  2. #2
    Sencha Premium User dawesi's Avatar
    Join Date
    Mar 2007
    Melbourne, Australia (aka GMT+10)


    are you sure that it's the javascript converting it or is it PHP/ColdFusion/jsp/other web app server converting it to the different timezone?
    Cloud Application Architect

    Sencha Specialist / Sencha MVP / Sencha Technical Trainer
    ExtJs Developer + Contributor since 0.2.2 - Champion of the per developer license.

  3. #3


    You were completely right. I started learning Rails and ExtJS and sometimes I dont know where the solution is. Thanks for your answer.

Similar Threads

  1. .NET DateTime Format to ExtJs DateTime format
    By Chods in forum Ext 3.x: Help & Discussion
    Replies: 5
    Last Post: 9 May 2009, 9:44 AM
  2. Anyone come up with a better UI for timezone selection?
    By simeon in forum Community Discussion
    Replies: 4
    Last Post: 23 Mar 2009, 1:13 PM
  3. Date Time Display Issue? Stop timezone Conversion?
    By nromanel in forum Ext 2.x: Help & Discussion
    Replies: 1
    Last Post: 6 Feb 2009, 2:28 PM
  4. Possible timezone conversion bug.
    By dexpdx in forum Ext 2.x: Help & Discussion
    Replies: 0
    Last Post: 13 Jun 2008, 1:21 AM
  5. dateFormat with timezone
    By KimH in forum Ext 2.x: Help & Discussion
    Replies: 6
    Last Post: 3 Mar 2007, 4:40 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts