Results 1 to 2 of 2

Thread: How to set Timezone for Date and Time field

  1. #1
    Ext JS Premium Member
    Join Date
    Nov 2008
    Location
    Dsseldorf, Germany
    Posts
    40

    Exclamation How to set Timezone for Date and Time field

    Hello,

    in our case we have the Problem that we get all date values as unix timestamp.
    If i set this values to a Date/Time field it displays it in the local Timezone.
    But we need to display the date in a specific timezone.

    For example we want to get the departure und arrival date of a Flight. Field 1 is the local departure date in London and field 2 is the local arrival date in New York. Both fields have to display the date in the specific timezone (London/New York)

    Is there any solution to solve this case?
    I wolud need the possibility to set the display timezone for a date/time field

    Thank you for your help.

  2. #2
    Sencha - Support Team bjdurham85's Avatar
    Join Date
    Mar 2014
    Posts
    962
    Answers
    55

    Default

    Hi--,

    Have you tried setting the format config on these components?

    http://docs.sencha.com/extjs/4.2.3/#...ate-cfg-format

    Bryan

Similar Threads

  1. Replies: 2
    Last Post: 2 Apr 2014, 11:53 AM
  2. Replies: 0
    Last Post: 22 Apr 2013, 11:41 PM
  3. Replies: 2
    Last Post: 12 Apr 2012, 8:17 AM
  4. Replies: 0
    Last Post: 18 Aug 2011, 1:08 AM
  5. 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

Tags for this Thread

Posting Permissions

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