1. #1
    Ext User
    Join Date
    Nov 2008
    Posts
    76
    Vote Rating
    0
    footballermahesh is on a distinguished road

      0  

    Talking TimeField

    TimeField


    Hai Alll I Have created a time field in my formpanel
    and the format of the time field is "2:15 PM"(i need This On The Display)
    when i select the 2:15 Pm i want to convert in to 14:15:00(coz my db field is datetime..)
    so how can i convert the (2:15 PM to 14:15:00)
    please help
    thanks in advance
    My code is
    Code:
    Mytime= new Ext.form.TimeField({
        width: 90,
        emptyText:'Time',
        name:'from_time',
         labelSeparator:''
        });

  2. #2
    Sencha Premium Member teddyjas's Avatar
    Join Date
    Dec 2007
    Location
    Singapore
    Posts
    262
    Vote Rating
    0
    teddyjas is on a distinguished road

      0  

    Default


    would be:
    Code:
    value = Date.parseDate(Mytime.getValue(), Mytime.format).format('H:i:s');

  3. #3
    Ext User
    Join Date
    Nov 2008
    Posts
    76
    Vote Rating
    0
    footballermahesh is on a distinguished road

      0  

    Thumbs up Fixed

    Fixed


    Thanks teddyjas
    Its Working...

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi