1. #1
    Sencha User
    Join Date
    Dec 2012
    Location
    hyderabad
    Posts
    91
    Answers
    1
    Vote Rating
    0
    javapurna is on a distinguished road

      0  

    Default Unanswered: timejone display with date

    Unanswered: timejone display with date


    hi every one ,


    i want to display date+time+AM/PM+TIMEZONE(CST). HOW TO DISPLAY

    MY DOCE IS LIKE THIS
    var dt = new Date();
    Ext.Date.format(dt,'m/d/Y g:i A');

    IT DISPLAY LIKE THIS 4/18/2013 10:57 AM . WITH THIS I WANT TO DISPLAY TIMEZONE(CST) ALSO . IS IT POSSIBLE TO DISPLAY . ANY ONE PLEASE ANSWER ME. AND ALSO

  2. #2
    Sencha - Support Team slemmon's Avatar
    Join Date
    Mar 2009
    Location
    Boise, ID
    Posts
    5,459
    Answers
    437
    Vote Rating
    202
    slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of slemmon has much to be proud of

      1  

    Default


    Take a look at the Ext.Date API doc. At the top is a syntax matrix. One of the options is 'T' that might be of interest to you.
    http://docs.sencha.com/extjs/4.2.0/#!/api/Ext.Date

Thread Participants: 1

Tags for this Thread