1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    219
    Answers
    10
    Vote Rating
    5
    webfriend13 is on a distinguished road

      0  

    Default Unanswered: Formatting string into date from a specific format

    Unanswered: Formatting string into date from a specific format


    HI all,

    I have a string 20121109 (Ymd format or 2012 nov 09). I want to convert this string into a date by supplying the format. Please let me know how can i convert this string into date. I know I can split the string and then I can convert it into date but I dont want to go that way.


    I have tried this but it did not worked:
    var date = Date.parseDate('20121109', 'Ymd');

  2. #2
    Sencha User pcr's Avatar
    Join Date
    Jun 2009
    Posts
    183
    Vote Rating
    2
    pcr is on a distinguished road

      1  

    Default Did you try moment

    Did you try moment


    For all date formatting etc I use moment.js.

    Look at: http://momentjs.com/

Thread Participants: 1

Tags for this Thread

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